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 #80348 is a reply to message #80260] Fri, 25 May 2012 10:17 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
simona bellavista writes:

> Thank you very much, a stupid mistake.
> but now I want to have a line blue and one red and I do
>
> cgplot, sp, vector1, xstyle=1, yr=[0,1], /nodata
> cgplot, sp, vector1, color = datacolor1, /over
> cgplot, sp, vector2, color=datacolor2 , /over
>
> But I both line in datacolor1 ??

You want this:

cgplot, sp, vector1, xstyle=1, yr=[0,1], /nodata
cgplot, sp, vector1, color = 'red', /over
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: Sat Oct 11 00:03:55 PDT 2025

Total time taken to generate the page: 0.08428 seconds