help on polar_surface routine [message #29807] |
Tue, 12 March 2002 10:10 |
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
|
|
|