Re: FSC_color and loadct clashing [message #54441] |
Sun, 17 June 2007 07:05  |
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.")
|
|
|
|
|