From: Alan W. I. <ir...@be...> - 2002-02-06 02:51:00
|
On Tue, 5 Feb 2002, Maurice LeBrun wrote: > Alan W. Irwin writes: > > Maurice, could you please find a way to display the entire cmap0 colour > > palette GUI? Right now, the 16 default colour buttons overlap at the end, > > and I believe one of them is entirely covered up. > > They all appear just fine on my display. :) But I have a feeling I'll see what > you mean when I try it on my notebook at 800x600 resolution. What resolution > are you using? 1024x768. > I don't really like the plscmap1() way of initializing the palette. Understood for ordinary use, but plscmap1() is invaluable for dealing with colour paletted images so this functionality should be retained. However, I agree we shouldn't demo plscmap1() in example 8, and generating gray scale with two control points is a more beneficial example for the newbie user. >> Finally, I noticed when checking example 8 that no attempt (as far as I >> could tell) was made to display the working palette. Instead when the cmap1 >> palette was pressed, immediately the gray scale was turned into the default >> colour scheme. > Right, this is a side effect of the brute force initialization of the color > map. It will go away after I change x08c to use plscmap1l() instead. Good. Thanks also for the additional information you gave re cmap0 and cmap1 palette files. Alan |