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

Home » Public Forums » archive » Re: Color in PLOT(S)??
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 in PLOT(S)?? [message #44501] Wed, 22 June 2005 03:05 Go to previous message
Ricardo Bugalho is currently offline  Ricardo Bugalho
Messages: 22
Registered: March 2005
Junior Member
On Wed, 22 Jun 2005 10:23:31 +0200, Matthias Demuzere wrote:

> Hi all,
>
> I'm trying to make a 2D Bias plot with values fluctuating from -300 to 300
> (same line). Is it possible to plot the negative values in RED and the
> positive values in BLUE?
> Can anyone help me with that?
>

Make two plots (one for the positive, another for the negative), replacing
the Y that you don't want with !VALUES.F_NAN.
You might have to interpolate the data to get the points at Y = 0 or
you'll get gaps.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Swap even/odd elements in array
Next Topic: Re: extract numbers from string

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

Current Time: Sat Oct 11 14:19:35 PDT 2025

Total time taken to generate the page: 0.31168 seconds