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

Home » Public Forums » archive » Add a Vertical Line to a Plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Add a Vertical Line to a Plot [message #71771] Thu, 22 July 2010 05:36 Go to next message
Solargus is currently offline  Solargus
Messages: 5
Registered: May 2010
Junior Member
How can I add a vertical line to a certain time index value within a
plot? Say, at time.hour=6?
Re: Add a Vertical Line to a Plot [message #71845 is a reply to message #71771] Fri, 23 July 2010 05:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Solargus writes:

> I've tried
>
> PlotS, [time.hour eq 6, time.hour eq 6], !Y.CRange
> PlotS, [6, 6], !Y.CRange
>
> but this is not working. Could you be more explicit?

IDL> plot, findgen(11)
IDL> plots, [6,6], !Y.Crange

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: eliminating "banner"
Next Topic: Text vertical alignment

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

Current Time: Wed Oct 08 13:52:45 PDT 2025

Total time taken to generate the page: 0.00437 seconds