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

Home » Public Forums » archive » Re: How to display data
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
Re: How to display data [message #12691] Wed, 02 September 1998 00:00
Erard is currently offline  Erard
Messages: 11
Registered: November 1997
Junior Member
In article <35E71BA7.92776596@atl.mediaone.net>, dewhurst@atl.mediaone.net
wrote:

> I have recorded the values of a scalar variable on the surface of a
> sphere. The values are measured on a grid of latitude/longitude
> points. I want to find a way to display the data. I would like to use
> something like shade_surface, but the domain is a sphere. One way would
> be to produce something like a contour map, where the elevation of a
> point on the sphere represents the value of the function, suitably
> scaled. But, I don't know how to do this in IDL. I admit I have never
> gone into any of the mapping routines. Any suggestions?


The simple solution is to use map_set. You need to chose the projection
carefully, depending on what you want to display. There is always a spatial
deformation when plotting the whole sphere surface on a plane, so you must
chose the deformation that better suits you. Plus, some projections will
not plot the whole surface of the sphere. Sinusoidal projection will
conserve the surface ratio for example and are able to plot the whole
surface, while azimuthal projections will preserve angles. You have to
identify what you want to show, then pick up the right solution.

--
St�phane Erard

Institut d'Astrophysique Spatiale
Orsay, France
www.ias.fr/cdp
erard@ias.fr
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How do I get IDL to see that my procedure exists?
Next Topic: Making IDL Code Available Was: Easy way to make hard copies at full printer resolution

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

Current Time: Wed Oct 08 11:51:23 PDT 2025

Total time taken to generate the page: 0.00563 seconds