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

Home » Public Forums » archive » Re: How to plot many lines simultaneously
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: How to plot many lines simultaneously [message #32731 is a reply to message #32729] Tue, 05 November 2002 13:45 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pavel A. Romashkin (pavel_romashkin@hotmail.com) writes:

> This is plotting *subsequently*. For simultaneous, he'd have to do a
> Countour, huh?
> Am I being a little ... retentive? Sorry :-)

Talk about retentive. I got all hot and bothered this
morning that my FSC_COLOR program wouldn't allow me
to specify a vector of drawing colors in a way that
would allow me to loop in this little example I gave
this morning. I spent half the day adding that little
feature and more to some of my most stalwart programs. :-(

The example should have read:

d = FSC_Color(['charcoal', 'yellow'], Colors=c)
Plot, x, y[0,*], Color=c.charcoal, Background=c.yellow, /NoData
drawcolors = FSC_Color(['green', 'dodger blue', 'firebrick', $
'pale green', 'dark goldenrod', 'moccasin', 'orchid'])
FOR j=0,7 DO OPlot, x, y[j,*], Color=drawcolors[j]

Now, how's that for a half day's work!!

Cheers,

David

P.S. Let's just say even tennis coaching is beginning to
look lucrative to my wife. :-(

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: gurus: example code as main level code ?
Next Topic: Re: About file length

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

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

Total time taken to generate the page: 0.00426 seconds