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 
Switch to threaded view of this topic Create a new topic Submit Reply
polar surface plots [message #5804] Fri, 23 February 1996 00:00 Go to next message
sean is currently offline  sean
Messages: 5
Registered: February 1996
Junior Member
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?

Cheers

sean@math.ucl.ac.uk
Re: polar surface plots [message #5882 is a reply to message #5804] Tue, 27 February 1996 00:00 Go to previous message
Sergei Senin is currently offline  Sergei Senin
Messages: 23
Registered: February 1996
Junior Member
Mike Mayer <mayer@boulder.vni.com> wrote:
> Whoops, sorry kids...

Don't be, we, kids, do like wise guys hanging around :-)

> I meant to send that last response about spherical surface plotting
> to the poster via Email only. It also wound up in the newsgroup by
> mistake. Maybe it will help others though.
>
> Mike

It is always a good idea to post your reply to the newsgroup - as you say it
might help others.


Cheers



> ^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

--
Sergei Senin
University of Portsmouth
Department of Electrical and Electronic Engineering
Microwave, Telecommunications and Signal Processing Research Group
Anglesea Building, Anglesea Road,
Portsmouth,P01 3DJ,England.
ss@ee.port.ac.uk, http://www.ee.port.ac.uk:80/~ss-www/
Re: polar surface plots [message #5891 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
Whoops, sorry kids...

I meant to send that last response about spherical surface plotting
to the poster via Email only. It also wound up in the newsgroup by
mistake. Maybe it will help others though.

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
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
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 13:40:38 PDT 2025

Total time taken to generate the page: 0.00713 seconds