Hi Hazen:

(with a question for Alban below).

I have just committed (as of revision 10186) the default colour palette
files cmap[01]_default.pal which correspond to what you get by default from
PLplot if no colour palette files are specified and you are using the
default dark background.  (The latter condition needs to be stated because
PLplot uses a different default cmap1 for light backgrounds because of the
"vertex" logic in plctrl.c.  If someone actually likes the default cmap1 for
light backgrounds they are welcome to add another cmap1 colour palette file
corresponding to it.) Furthermore, I have made it easier to select these
default colour palette files; when the actual argument of plspal0 is an
empty string, cmap0_default.pal is chosen, and similarly for plspal1 and
cmap1_default.pal.  Finally, I have changed example 16 to change the colour
palettes for each succeeding page.

The new example 16 has revealed some device driver problems for the way that
background colours are (not) supported. For -dev xwin the 4th page of
example 16 stubbornly retains the white background of the previous pages
rather than changing to the specified black background of cmap0_default.pal.

There are also background colour errors for -dev qtwidget.  I first spotted
this for x16, but it turns out to be an issue for all examples.  You
can easily demonstrate this, by, e.g., running

./x10c -dev qtwidget -bg ffffff

which should produce a white background but the resulting background colour
is black.  I suspect only a black background colour is supported for
all qt devices.  Alban, can you confirm (and hopefully fix) this issue?

All other devices I have tried (xcairo, psc, psttfc, epscairo, and svg)
produced correct colour results for all pages of example 16.

Hazen, do you agree it is time to propagate pl[sg]pal[01] and example 16
changes to our other languages?  Ideally, we will want to take care of this
before our forthcoming release which is scheduled for early September.

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
__________________________

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to