On 2012-08-12 12:32-0500 Maurice LeBrun wrote:

> On Sunday, August 12, 2012 at 08:02:20 (-0700) Alan W. Irwin writes:
> > 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.
>
> "large" & such variants don't work when the hue range exceeds 180, e.g.
> {0,240}. where the shorter angle is traversed by going around the back side.

Good point so forget that idea.

>
> I agree "back" is poor also since "front" & "back" are arbitrary
> constructions.  The most accurate mathematical description would be something
> like "path_includes_zero" as the interpolation is defined by going through the
> H=0=360 (red) point.  So maybe that or something similar.

"path_includes_zero" usually does describe the mathematical meaning,
but that term is ambiguous for the special case when the hue range
ends with zero or 360 since both path alternatives in that case
include zero (or 360). To avoid ambiguity, how about dropping all
special meaning from the name and using "alt_hue_path" instead (with
appropriate docbook and doxygen documentation of exactly what that
means in a mathematical sense)?

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