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

Home » Public Forums » archive » Re: 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 #80349 is a reply to message #80251] Fri, 25 May 2012 09:56 Go to previous message
simona bellavista is currently offline  simona bellavista
Messages: 56
Registered: December 2009
Member
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 ??

> Ah, well, that's not the code you sent before. In the
> code we were testing, you loaded the color AFTER you
> ran PS_START. If you do it *before* you run PS_START
> there is a possibility the color will be wrong, depending
> upon how your machine is set up.
>
> There would be no confusion if you specified the color
> on the command line that used the color, or (a MUCH better
> solution!) you used Coyote Graphics commands to draw your
> graphics.
>
> But, in your case, just moving the color definition to
> after the PS_Start command will solve your problem.
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Pan/Zoom Line Plots with Coyote Graphics
Next Topic: ps_start and color

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

Current Time: Fri Oct 10 15:36:44 PDT 2025

Total time taken to generate the page: 0.72026 seconds