On 2009-07-10 08:53+0100 Andrew Ross wrote:

> One further addition would be to explicitly set a palette using these commands
> in one of the examples. I don't have a strong preference which. Perhaps 
> example
> 16?

Yes.  That is the best example for displaying cmap1 palettes that I have
found, and like most other examples it is good for displaying cmap0 palettes
as well.

> One further point - if the user explicitly adds -cmap[0]1 to the command
> line should this override any explicit calls to plspal[01]?

As I recall this whole command-line options business is a bit of a can of
worms so you might look into the suggestion below and find there is an even
more urgent options issue that must be solved first.  But for what it is
worth, I believe the above question should be generalized to how we treat
most command-line options. IIRC, they are currently always superseded by the
explicit calls, but I think for many of them there would be some usefulness
to allowing the command-line option to override explicit calls. Thus, I
would suggest implementing this with one more command-line option (let's
call it optfreeze for now) to turn off all explicit settings for certain of
the command-line options after the parsing of command-line options is done.
(IOW, you get the same result regardless of where optfreeze is set on the
command line.)

You could start by making plscmap0 and plscmap1 optfreeze aware and expand
the list of functions with optfreeze awareness as time permitted.  I am
tempted to say make all such functions optfreeze aware, but there are bound
to be a few (such as optfreeze itself) where we probably want explicit
overrides to always work.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to