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

Home » Public Forums » archive » Re: switch colortable
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: switch colortable [message #31834 is a reply to message #31820] Thu, 22 August 2002 05:34 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
tom (tom2959@21cn.com) writes:

> Some the colortables(loadct,0,1...) have colors vary from some
> color(black,blue,...) to white linearly. But I hope the colortable changing
> from white to some color(black,...). Then when I plot contour, the maximun
> peaks can display clearly. How to do that then?

Here is one way:

TVLCT, r, g, b, /Get
TVLCT, Reverse(r), Reverse(g), Reverse(b)

Another way is to start XLOADCT, then grab the
Stretch Top thingy and drag it all the way to
the left, and drag the Stretch Bottom thingy
all the way to the right. Hit the DONE button.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: How to use max() to plot where in the plot max is located ?
Next Topic: Widget exclusive buttons

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

Current Time: Wed Oct 22 13:42:42 PDT 2025

Total time taken to generate the page: 2.23921 seconds