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

Home » Public Forums » archive » Re: cgcolor load color to the current color table.
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: cgcolor load color to the current color table. [message #78135 is a reply to message #78133] Wed, 26 October 2011 13:31 Go to previous messageGo to previous message
Zhang Bo is currently offline  Zhang Bo
Messages: 22
Registered: October 2011
Junior Member
On Oct 26, 1:50 pm, David Fanning <n...@dfanning.com> wrote:
> Zhang Bo writes:
>> With decomposed color, how to show color gradient in a contour plot?
>> The we I can image is by setting an array of gradient numbers for
>> colors every time, which seems not quite convenient.
>
> I'm not sure what you are asking. cgContour works with
> color tables and color values in the normal way. It does
> ALL its drawing in decomposed color mode, if at all possible.
>
>    Device, Decomposed=1
>    Loadct, 5
>    cgContour, cgDemoData(2), /Fill, NLEVELS=15
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Sounds like using cgcontour can make the color right instead of using
just contour under decomposed color.

Thanks.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plot 3 array one up to another
Next Topic: expanded area is shown when trying to plot an image on a map

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

Current Time: Thu Oct 09 22:38:31 PDT 2025

Total time taken to generate the page: 1.11922 seconds