Alan W. Irwin wrote:
> Hi Hazen:
> (with a question for Alban below).
> I have just committed (as of revision 10186) the default colour palette
> files cmap_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 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.
Nobody has complained about the names so this sounds like a good idea to me.