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

Home » Public Forums » archive » Re: cylindrical mapping
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
Re: cylindrical mapping [message #17551] Fri, 29 October 1999 00:00
Mirko Vukovic is currently offline  Mirko Vukovic
Messages: 124
Registered: January 1996
Senior Member
In article <38192F61.44A514D2@physics.usyd.edu.au>,
Chris Rennie <rennie@physics.usyd.edu.au> wrote:

> Sure.
> I have a phase angle (-Pi .. +Pi) as a function of time.
> A flat 2D plot is somewhat unsatisfactory if the data
> frequently 'wraps around' from -Pi and +Pi, and so I
> was curious to see the data mapped onto a cylinder.
>
> I can create a 3D version of the time series from Times[]
> and Phase[] by:
> Phase3d[0,*]=Times
> Phase3d[1,*]=sin(Phase)
> Phase3d[2,*]=cos(Phase)
>
> and view the result from various angles. But I am hoping
> that someone out there has done the harder work of supplying
> axes, hidden line removal, or imaginative shading etc. Such
> plots are hard to visualize without additional depth cues.
> If you have any ideas, please let me know...
> Chris
>

I don't have much experience in 3d plotting, and the little I had
did not provide easy to understand plots. How about
unwrapping the phase so it goes form 0 to n*2pi and plotting
in 2D. Does that
make any sense? What is changing from one 2pi interval to the next?


Mirko


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: cylindrical mapping [message #17557 is a reply to message #17551] Fri, 29 October 1999 00:00 Go to previous message
Chris Rennie is currently offline  Chris Rennie
Messages: 6
Registered: October 1999
Junior Member
> Chris Rennie <rennie@physics.usyd.edu.au> wrote:
>> Can anyone suggest a shortcut for plotting a timeseries in
>> cylindrical coordinates? I would like to plot a phase angle
>> as a function of time (which is to be the axial coordinate),
>> and would like to try this representation.
>
> I did not quite understand what is plotted vs. what and
> in what coordinate system. Can you elaborate?
>
> Mirko

Sure.
I have a phase angle (-Pi .. +Pi) as a function of time.
A flat 2D plot is somewhat unsatisfactory if the data
frequently 'wraps around' from -Pi and +Pi, and so I
was curious to see the data mapped onto a cylinder.

I can create a 3D version of the time series from Times[]
and Phase[] by:
Phase3d[0,*]=Times
Phase3d[1,*]=sin(Phase)
Phase3d[2,*]=cos(Phase)

and view the result from various angles. But I am hoping
that someone out there has done the harder work of supplying
axes, hidden line removal, or imaginative shading etc. Such
plots are hard to visualize without additional depth cues.
If you have any ideas, please let me know...
Chris
Re: cylindrical mapping [message #17566 is a reply to message #17551] Thu, 28 October 1999 00:00 Go to previous message
Mirko Vukovic is currently offline  Mirko Vukovic
Messages: 124
Registered: January 1996
Senior Member
In article <3817F983.57B1F428@physics.usyd.edu.au>,
Chris Rennie <rennie@physics.usyd.edu.au> wrote:
> Can anyone suggest a shortcut for plotting a timeseries in
> cylindrical coordinates? I would like to plot a phase angle
> as a function of time (which is to be the axial coordinate),
> and would like to try this representation.
>
> TIA
> Chris

I did not quite understand what is plotted vs. what and
in what coordinate system. Can you elaborate?

Mirko


Sent via Deja.com http://www.deja.com/
Before you buy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: gaussfit question
Next Topic: Re: How to import an source interface ?

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

Current Time: Wed Oct 08 17:27:41 PDT 2025

Total time taken to generate the page: 0.00633 seconds