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

Home » Public Forums » archive » color plot in postscript
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: color plot in postscript [message #65757 is a reply to message #65677] Fri, 20 March 2009 06:26 Go to previous messageGo to previous message
David Fanning is currently offline  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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Google Groups and ENVI 4.6.1
Next Topic: Passing more than one variable out of a function.

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

Current Time: Sat Oct 11 07:09:09 PDT 2025

Total time taken to generate the page: 1.51658 seconds