| Re: 24-bit color contour [message #27880 is a reply to message #27879] |
Sat, 10 November 2001 00:13   |
tom
Messages: 28 Registered: April 1995
|
Junior Member |
|
|
Thanks.
Sometimes, the contour plot was displayed by adding on a TV or TVscl plot.
For example,
data=fltarr(n,n)
tv,data,/true
contour,data
may be wrong. How to to display the data in a 24 bit color?
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.165644a245c2f9e5989763@news.frii.com...
> tom (tom2959@21cn.com) writes:
>
>> Hi, is it possible for me to draw a 24-bits color filled contour plot on
a
>> 24-bits screen or PS file? It is usually a 8-bits contour or grey
contour.
>
> The question that comes up for me is not "is it possible"?
> But, rather "why in the world would you want to do it?"
>
> Let me see if I understand this. You want a filled
> contour plot with more than 256 colors, implying that
> you are going to use more than 256 contour intervals.
> Have you given any thought to how big that window is
> going to have to be to get any kind of resolution on
> your filled contour plot?
>
> Or, do you mean you wish to specify the contour
> colors as 24-bit values? This is possible in object
> graphics, but no one I know uses contour plots in
> object graphics because there is no way to label
> contour intervals there. It is not possible in
> direct graphics, but again, I can't think of any
> reason *why* it should be possible. No practical
> filled contour plot would have more than 256 colors.
> And even it it did, on a 24-bit display you would
> just change color tables and continue layering on
> more contours in more colors.
>
> Perhaps I'm missing the gist of this question
> entirely. All I can say in my defense is that
> it *is* Friday night. :-)
>
> Cheers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
|