On 2014-02-02 15:54-0600 Kyle Bentley wrote:

[...]
>    *This is the part which I cannot get to work.
>    It looks like all the others, but no luck
> - -----------------------------------------------------------------
> *    // Set the box color, create a box with various options
>    this->dataPlot.col0(1);
>    this->dataPlot.scol0(1,
>            this->rgb_box[0],
>            this->rgb_box[1],
>            this->rgb_box[2]);
>    this->dataPlot.box( "bcnst", 0, 0, "bcnstv", 0, 0 );
> *-----------------------------------------------------------------*
[...]

Hi Kyle:

What particular devices show this issue of red lines for cmap0 index 1
despite a call to plscol0 to set a non-red colour for cmap0 index
1?

I haven't looked deeply at this, but, of course, it is possible some
device drivers might only allow cmap0 palette changes to apply to the
_next_ page or even ignore any attempts to change the pallette after
the device has been initialized. So I suggest calling
this->dataPlot.scol0 just before either your call to (1)
this->dataPlot.adv or (2) this->dataPlot.init to see whether
either/both of those gives you the desired result.

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
__________________________

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to