|
From: Ethan A M. <merritt@u.washington.edu> - 2005-12-31 00:38:02
|
On Friday 30 December 2005 04:33 pm, Daniel J Sebald wrote: > Now, I would think that we could start adding the local color map if the > palette changes. However, the problem is that the "make_palette" > routine is called several times before each plot. I think you are not understanding my main point. It has nothing to do with make_palette. The thing is, gnuplot now allows general color specs like "lt rgb 'xffee43'". That may or may not be a color in the current color map. How would you know? If it is already there, then requesting it will not change the colormap. If that color isn't in the current colormap, then libgd will create a new entry for it. But neither gnuplot nor the end user knows that this has happened, and that the colormap has changed. Yes, you could program around this by testing for a color match first, and making a note that this is a new color and therefore the colormap must have changed. But then what would you do about it? I just don't see that it would gain us anything. > GIF file was missing some data (perhaps it was truncated somehow?) Nope. Never seen that one. And grepping the source files for gd 2.0.33 doesn't produce any hits. Are you sure that is coming from libgd? -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |