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

Home » Public Forums » archive » PLOT question
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
PLOT question [message #22983] Wed, 20 December 2000 09:36 Go to next message
Stuart Colley is currently offline  Stuart Colley
Messages: 17
Registered: February 2000
Junior Member
I have some data that is periodic, y=f(t) and the data is plotted as
plot, t, y The problem is I'd like t to plot phase angle rather than
time, the problem being the phase angle is between 0 and 1 and repeats.
Attempting to plot the data you just get a plot between 0 and 1, what I'd
like to be able to plot is each cycle of the data with it's phase angle.

Any ideas on how to get the plot axes right?

cheers,
S


____________________________________________________________ __________

telephone: +44 (0)20 7679 3483
home page: http://www.star.ucl.ac.uk/~src/

Please e-mail me in plain text ONLY: MS Word, html, etc,
are automatically sent to /dev/null (i.e. deleted).
Re: plot question [message #27549 is a reply to message #22983] Fri, 26 October 2001 14:00 Go to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
src wrote:

> hi,
> I'm trying to do a plot to an eps file, but with a slight difference. I
> wish to add a straight line "arrow" to the plot to point out a feature of
> the plot, then add a label with xyouts. I am using oplot with just two
> co-ordinates to draw my line. This works fine when I plot to the screen,
> I have my spectrum, a line "arrow" pointing to a feature, and the label.
> When I plot to the eps file I lose the line "arrow".
>
> Any ideas?
> cheers,
> S

You may want to try increasing the thickness of your line via the thick
keyword - I seem to remember having this problem a long time ago.
Re: plot question [message #27552 is a reply to message #22983] Fri, 26 October 2001 12:49 Go to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
On Fri, 26 Oct 2001, David Fanning wrote:

> src (src@umzog.ulo.ucl.ac.uk) writes:
>
>> I'm trying to do a plot to an eps file, but with a slight difference. I
>> wish to add a straight line "arrow" to the plot to point out a feature of
>> the plot, then add a label with xyouts. I am using oplot with just two
>> co-ordinates to draw my line. This works fine when I plot to the screen,
>> I have my spectrum, a line "arrow" pointing to a feature, and the label.
>> When I plot to the eps file I lose the line "arrow".
>

are you using the ARROW procedure? It sounds from your post that you are
using oplot to create the arrow...

-k.

--
Ken Mankoff
LASP://303.492.3264
http://lasp.colorado.edu/~mankoff/
Re: plot question [message #27559 is a reply to message #22983] Fri, 26 October 2001 10:39 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
src (src@umzog.ulo.ucl.ac.uk) writes:

> I'm trying to do a plot to an eps file, but with a slight difference. I
> wish to add a straight line "arrow" to the plot to point out a feature of
> the plot, then add a label with xyouts. I am using oplot with just two
> co-ordinates to draw my line. This works fine when I plot to the screen,
> I have my spectrum, a line "arrow" pointing to a feature, and the label.
> When I plot to the eps file I lose the line "arrow".

Hope you are drawing your arrow in either data or normalize
coordinates. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "Practical IDL Programming" excerpts now at Amazon
Next Topic: value of a function at y(0) given the definite integral

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

Current Time: Wed Oct 08 19:34:12 PDT 2025

Total time taken to generate the page: 0.00547 seconds