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
Spherical Surface Plot w/ fsc_surface from David Fanning (: [message #61430] Thu, 17 July 2008 08:41 Go to previous message
humanumbrella is currently offline  humanumbrella
Messages: 52
Registered: June 2008
Member
Hi,

So, I'm trying to make a spherical surface plot with the fsc_surface
class from Dr. Fanning. (:
Fun!

Anyways, I have two arrays, one of latitudes and one of longitudes --
then I have a data array which is lat x long 2D with datapoints.
Here's what I want to do, but have yet to be successful -- and I came
here to look for some tips. : )

Here is what I've tried: so, the surface plotter uses an index
notation for plotting of the datapoints. However, when converting to
spherical data, there will be lat*long x and y values, instead of lat
+long, ie there will no longer be only one lat for all longs, they
will all be different.

I'm using R as the data value that is in the dataset at [lat,long]

So, I'm creating a 2D array that is 2, lat*long

values[0, *] = sin(lat[i])*cos(long[i])*r ;X's
values[1, *] = sin(lat[i])*sin(long[i])*r ; Y's

then I have datapoints = lat*long

so now, I have the x's and y's I need, but I need to plot them as a
surface.

it will be,
plot
datapoints[0] at x[0]y[0]
...
datapoints[n] at x[n]y[n] where n = lat*long

Should I try to go about using volume for this spherical surface
plot ?

Thanks for any suggestions!
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 15:33:09 PDT 2025

Total time taken to generate the page: 0.00729 seconds