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

Home » Public Forums » archive » Re: FSC_color and loadct clashing
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: FSC_color and loadct clashing [message #54441] Sun, 17 June 2007 07:05 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
russell.grew@gmail.com writes:

> I've spent some time today making contour plots.
>
> Huge thanks for David Fanning for his routines.
>
> I have struck a problem! I really want my contour plot to have the Hue
> Sat Lightness (loadCT, 20) colours, but I want a black set of axes
> inclusive of colorbar. Currently running windows and plotting to
> screen, but need to plot to 'x' and 'ps' also.

This article should explain it for you:

http://www.dfanning.com/color_tips/lineinct.html

But, really, with a contour plot like this, you should
only be loading the contour colors into 25 slots in
the color table:

LoadCT, 20, Colors=25, Bottom=1

and later:

Contor, C_Colors=Indgen(25)+1, ...
Colorbar, NColors=25, Bottom=1, ...

Here is an article that explains why:

http://www.dfanning.com/tips/contour_hole.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL input files.
Next Topic: reading binary files

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

Current Time: Wed Oct 08 19:39:27 PDT 2025

Total time taken to generate the page: 0.00444 seconds