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

Home » Public Forums » archive » Spherical Surface Plot w/ fsc_surface from David Fanning (:
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: Spherical Surface Plot w/ fsc_surface from David Fanning (: [message #61534 is a reply to message #61430] Mon, 21 July 2008 06:46 Go to previous messageGo to previous message
humanumbrella is currently offline  humanumbrella
Messages: 52
Registered: June 2008
Member
Hello everyone,

Sorry I have not responded for a couple of days, I've been up in
Washington DC on vacation, hehe.

Anyway, I see the clipping which David references on my machine using
IDL7.0.

Here's the screen -> http://tinyurl.com/696ro2

Also -- for others who follow, here's some help, not with fsc_Surface
in particular, but with surface plots, for a way of displaying
spherical data, though the author (who had correspondence with Dr.
Fanning, hehe) is experiencing a problem with a hole in the plot.

ang=transpose(2*!PI*findgen(64)/63)
print, ang
n=size(ang, /N_ELEMENTS )
print, n
ones=fltarr(n,1)+1
theta_a=(ang##ones)
print, size(theta_a)
;ang2=[0:.05:pi+.05]'-pi/2; (this is what Iused in Matlab)
ang2=transpose(!PI*findgen(n)/(n-1)-!PI/2) ; (should be roughly
equivalent to above)
theta_e=transpose(ang2##ones)
rcart=1+cos(!pi/2-theta_e)


theta_a_1d=reform(theta_a,1,n*n)
print, size(theta_a_1d)
theta_e_1d=reform(theta_e,1,n*n)
print, size(theta_e_1d)
rcart_1d=reform(rcart,1,n*n)
print, size(rcart_1d)
sph=[theta_a_1d,theta_e_1d,rcart_1d]


rectc=cv_coord(from_sphere=sph, /to_rect)
x_1d=rectc(0,*)
y_1d=rectc(1,*)
z_1d=rectc(2,*)
x=reform(x_1d,n,n)
y=reform(y_1d,n,n)
z=reform(z_1d,n,n)
print, size(z)

isurface, z,x,y
xplot3d, x,y,z

I think this is well enough to get me on my way today!
Thanks everyone!
Cheers,
--Justin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Active FIDs?
Next Topic: Re: Extracting average pixel value

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

Current Time: Wed Oct 08 19:33:10 PDT 2025

Total time taken to generate the page: 0.00473 seconds