comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » color question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Color question [message #24481 is a reply to message #19825] Wed, 04 April 2001 09:47 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
R. Kyle Justice (rkj@dukebar.crml.uab.edu) writes:

> 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.

After thinking about this a while longer, I wonder (you
have posted no code, alas) whether you are *specifically*
indicating the color indices for both the contour plot
and the colorbar or letting IDL (Wave?) choose
them for you. There can certainly be problems if you
don't choose color indices specifically. (Although not
the ones you describe, I shouldn't imagine.)

I have a FSC_Contour plot program that is similar
to MPI_PLOT that allows you to modify contour plots
interactively. It is *almost* ready for public
consumption. I'm quite sure the filled contours in
this match the colors of the attached colorbar. :-)

Let me know if you are interested, and I'll see what
I can do to get it ready to go. (IDL only, of course,
since it uses a GUI interface.)

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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Color Question
Next Topic: Apple "Switched" spoof

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:32:46 PDT 2025

Total time taken to generate the page: 0.80156 seconds