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

Home » Public Forums » archive » help on polar_surface routine
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
help on polar_surface routine [message #29807] Tue, 12 March 2002 10:10
florence.henry is currently offline  florence.henry
Messages: 2
Registered: March 2002
Junior Member
Hello,

I'm trying to use the polar_surface routine, and I have one question about it.
Here is the instruction I give :
zz = polar_surface(z,r,t,missing=zmin,spacing=[ds,ds])
r ranges between 5 and 100
t ranges between 0 and 2*pi

why the resulting zz is not centered on 0 ?

For example :

r=findgen(51)/50.
theta=findgen(25)*15.*!dtor
x=r#cos(theta)
y=r#sin(theta)
z=exp(-r^2)#replicate(1.,25)
zz=polar_surface(z,r,theta,/grid)
surface,z,x,y
window,2
surface,zz

the "surface,z,x,y" will give a plot centered on 0
and "surface,zz" won't.

Anyone can help me to have my plot centered?

-----
Florence.Henry@obspm.fr
Observatoire de Paris
[Message index]
 
Read Message
Previous Topic: Re: MODIS L1B - 250m
Next Topic: Reason for __eprintf error???

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

Current Time: Fri Oct 10 02:50:47 PDT 2025

Total time taken to generate the page: 0.48085 seconds