On 2012-08-12 00:22-0500 Maurice LeBrun wrote:

> Here is the behavior I see on a plplot build (a bit old but none of this stuff
> has changed recently AFAIK).  BTW H=120 is green, blue is H=240.  Cf.
>  http://en.wikipedia.org/wiki/HLS_color_space
>
> Using a Hue range of {0,120} gives a Red - Yellow - Green shading.
> Using a Hue range of {120,0} gives a Green - Yellow - Red shading.
>
> Selecting rev=1 causes the interpolation to go around "the back side" of the
> color wheel, yielding in the latter case Green - Cyan - Blue - Magenta - Red.
>
> So from my perspective it's working as expected, aside from the "rev" misnomer
> ("back" or "wrap" would've been better -- my bad).

The name of that argument can be changed without causing an API
disruption so if we can come up with a name that is a lot better, I
would encourage a patch making the change (and also the associated
change to the documentation).

But I am not sure "back" or "wrap" are a _lot_ better than "rev". Just
to throw another possibility into the pot and get some discussion
going about the ideal name, how about "large" or "larger_angle" (for
the choice of range corresponding to the larger hue angles).  I also
thought of cc (for counter-clockwise), but that is a similar misnomer
to rev.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to