Re: color plot in postscript [message #65757 is a reply to message #65677] |
Fri, 20 March 2009 06:26   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Dave Klassen writes:
> Well, to play devil's advocate here, using a color index is good
> for doing multiple plots of differing colors.
> plot, x, y[0,*], /nodata
> for i=3D1,7 do oplot x, y[i,*], color=3Di
>
> Of course, I realize one could do
> clrvec=3D['Red','Blue','Green',...]
> and then use
> for i=3D1,7 do oplot x, y[i,*], color=3Dclrvec[i]
> to get the same result.
And I wouldn't be surprised to find some of the color
tools I've built would allow you to do just that. :-)
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.")
|
|
|