[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color question

David Fanning (davidf@dfanning.com) wrote:
: R. Kyle Justice (rkj@dukebar.crml.uab.edu) writes:
: > 
: > I have it set to 8 bits_per_pixels and I still get the same
: > result.

: Well, then, I've never heard of anything like it! :-)

: I presume you are sure you are using exactly the same
: color indices for both the contour colors and
: the color bar colors? And that you have copied
: the color table into your PostScript device?
: If both of these are true, how could the colors
: be different?

: Cheers,

: David

: -- 
: David Fanning, Ph.D.
: Fanning Software Consulting
: Phone: 970-221-0438 E-Mail: davidf@dfanning.com
: Coyote's Guide to IDL Programming: http://www.dfanning.com/
: Toll-Free IDL Book Orders: 1-888-461-0155

How indeed?  I am using the same colors and I have copied 
the table into the postscript device.

Martin's solution is to generate a discrete color bar using 
POLYFILL.  I am sure this will work but I would still like
to know why there is a difference between a color bar created
with TV and one with a plot routine (POLYFILL, CONTOUR, PLOTS).
Whether the bar is made up of continuous colors or a discrete
number of colors should not make a difference, should it?

I don't know enough about postscript to know what is going
on inside the file.