From: Andrew R. <and...@us...> - 2012-01-20 22:05:37
|
On Fri, Jan 20, 2012 at 12:26:20PM -0800, Alan Irwin wrote: > On 2012-01-20 02:28-0800 phil rosenberg wrote: > > > As far as adding to the documentation is concerned, something that I found quite confusing is that nowhere does it state that calls to > > plcol0 or plcol1 change the current colour an this colour is then used for all subsequent drawing actions until the colour is changed > > again. Might I suggest a slight alteration to the second paragraph of the "Setting Color" section. > > > > First replace the 1st sentence with: > > > > The PLplot colour model utilizes the concepts of a background color, a current color and two color maps to allow the user to select > > from a large range of colours. > > > > Then append the following to the end > > > > The user can change the background color by setting the index 0 color of color map0 (as described in the section Color Map0) and can > > change the current color by selecting any of the colors from either color map using calls to plcol0 or plcol1. When the current color > > is changed all subsequent drawing actions will utilise the new color until it is changed again. > > Thanks for those ideas. I have reworded that paragraph along the > lines you mentioned. See revision 12137. That changed wording should > propagate to the website the next time we make a release. I have also updated example 21 to demonstrate using the capability for setting text / symbol colour with cmap1 and to help look for drivers bugs!). Page 2 now duplicates 1, but with the data points coloured by value. A quick check seems to suggest that only the wxwidgets driver of our main drivers is at fault here. Andrew |