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

Home » Public Forums » archive » polar surface plots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: polar surface plots [message #5893 is a reply to message #5804] Mon, 26 February 1996 00:00 Go to previous message
Mike Mayer is currently offline  Mike Mayer
Messages: 2
Registered: February 1996
Junior Member
Sean Oughton wrote:
>
> For 1-d data you can do a
> plot, /polar, r, theta
>
> Is there a similar trick for
> surface, /polar, f(i,j), r, theta
> ?
>
> Checked the help, but can't see anything.
>
> If not, has anyone got a .pro available which will do the necessary
> interpolation onto a Cartesian grid?
>

Sean,

Not sure if you are using IDL or PV-WAVE. If PV-WAVE, check
out the routines CONV_TO_RECT and CONV_FROM_RECT. They allow
you to convert back and forth between cartesian, spherical,
polar, and cylindrical coordinates. For doing spherical surfaces,
you could convert to cartesian and do a regular surface plot, similar
to your example above (except that the lines will still be drawn
rectilinearly insted of radially/concentrically).

Some of WAVE's advanced rendering techniques let you render
a spherical surface, from spherical data. Check out POLY_SPHERE
GRID_SPHERE, POLYSHADE, SPHERE, and RENDER. There are several
useful related routines, but these should get you started.

I hope this helps.

Mike

--
^v^v^v^v^v^v PV-WAVE: Where it's @! http://www.vni.com ^v^v^v^v^v^v^v^
Michael Mayer, Senior Technical Support Engineer Amateur Radio KB8RJO
Visual Numerics, Inc. 32915 Aurora Rd. Suite 160, Solon OH 44139 USA
Email: mayer@boulder.vni.com Human: 216-248-4900 Fax: 216-248-2733
v^v^v^v^v^v^v^v^v Good * Cheap * Quick (pick any two) ^v^v^v^v^v^v^v^v
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: FFTs in IDL
Next Topic: call_external on a DEC Alpha (osf1 V2.0)

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

Current Time: Fri Oct 10 09:07:07 PDT 2025

Total time taken to generate the page: 1.35844 seconds