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

Home » Public Forums » archive » multi-color (time-series) line plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
multi-color (time-series) line plot [message #77070] Tue, 02 August 2011 02:01 Go to previous message
Teddy Allen is currently offline  Teddy Allen
Messages: 13
Registered: October 2010
Junior Member
Dear group,
I have a very simple question that I am having trouble resolving
(maybe because it is almost 2am)...I have a time series of 500
points. I would like to plot a line plot that has 0:299 in red and
300:499 in blue. Basically, I would like a continuous time series line
plot that changes color at a specific location.

p = plot(rainall, xrange=[0,299],color='red')
p1 = plot(rainall, xrange=[300,499],color='blue',/over)

The above does not seem to work and I have played around with the
xrange option in addition to the xstyle option. Any hints for this
elementary request?
thank you,
teddy
[Message index]
 
Read Message
Read Message
Previous Topic: Segregating data in bimodal distribution
Next Topic: Re: iPlot Axes Colour

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

Current Time: Fri Oct 10 11:15:53 PDT 2025

Total time taken to generate the page: 1.92208 seconds