Re: color plot in postscript [message #65852 is a reply to message #65677] |
Tue, 24 March 2009 10:45  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> Unfortunately, this only really works if I work with
> color decomposition on (my usual state). I haven't yet
> figured out how to do this in a completely device-independent
> way. (Although I just had another idea about it while writing
> this note.) Stay tuned, I guess. :-)
OK, FSC_Color has been modified so you can use the
color names '0', '1', '2', ..., '255' to refer to
colors in the current color table in effect when
FSC_Color is called. This makes it easy to used
FSC_Color with colors you load:
CTLoad, 25, /Brewer, NCOLORS=10, BOTTOM=1
colors = StrTrim(Indgen(10)+1, 2)
Histoplot, ..., PolyColor=colors
You can find the latest program here:
http://www.dfanning.com/programs/fsc_color.pro
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|