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

Home » Public Forums » archive » ps_start and color
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: ps_start and color [message #80347 is a reply to message #80260] Fri, 25 May 2012 10:22 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> You want this:
>
> cgplot, sp, vector1, xstyle=1, yr=[0,1], /nodata
> cgplot, sp, vector1, color = 'red', /over
> cgplot, sp, vector2, color='blue', /over

Or, even more succinctly:

cgplot, sp, vector1, xstyle=1, yr=[0,1], color='red'
cgplot, sp, vector2, color='blue', /over

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ps_start and color
Next Topic: Interpol asymmetric?

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

Current Time: Thu Oct 09 22:40:41 PDT 2025

Total time taken to generate the page: 0.79918 seconds