|
From: Manfred S. <man...@gm...> - 2010-10-04 22:25:22
|
Hi Ethan, > > I have modified the routine that draws the colorbox for non-PostScript terminals. > It now checks each little colored rectangle that makes up the colorbox to see > if it straddles a break-point in a defined color palette. If so, that little > rectangle is split into two smaller rectangles so that their boundary lies > exactly at the point where the palette is potentially discontinuous. > > This gives pixel-accuracy for defined palettes so long as the terminal itself > is using continuous (RGB) colors. The modified code is now in CVS. > For me, this new version looks better than the original one, but far from perfect. Look at the attached plot, for the same data set as before. The color transition is partially off by 2 pixel (at the mark "100", and in the range 0-5 (yellow and light green stripes). So something strange is going on, still. Cheers, Manfred > It does not, however, fix the problem that if the palette uses only a limited > number of colors (set palette maxcolors N) then these colors are assigned with > even spacing over the whole range. If you would like to have finer color > resolution in one specific part of the range, that's an issue. > > Ethan > |