[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PLOT question

Craig Markwardt <craigmnet@cow.physics.wisc.edu> writes:

> Stuart Colley <src@star.ucl.ac.uk> writes:
> > 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?

Oops now that I look at the question again, I think maybe Stuart was
just looking for (T-T0)/P, without the MOD?  Or, a way to sandwich
together many distant cycles?  If the latter, that's a bit more
difficult.  A small program would be needed to join these intervals


Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response