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

Home » Public Forums » archive » HELP! How to place a map above a 3d surface????
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
HELP! How to place a map above a 3d surface???? [message #7046] Wed, 11 September 1996 00:00
scv is currently offline  scv
Messages: 1
Registered: September 1996
Junior Member
I wish to plot a 3D isosurface of some weather data and then place a map
in a horizontal plane directly above the surface.

When I try and do this, I have been unable to place the map correctly.

My code goes something like this:

;*** note _data_ is a 3d array containing the weather data ***

map_limits = [ -50.0, 110.0, -0.75, 175.25 ]
threshold = 0.2
datasize = SIZE(data)

SHADE_VOLUME, data, threshold, vertex_list, polygon_list
SCALE_3, XRANGE=[0, datasize(1)], YRANGE=[0, datasize(2)], $
ZRANGE=[0, datasize(3)], AX=30, AZ=30
image = POLYSHADE(vertex_list, polygon_list, /T3D)

ERASE
TV, image, /DATA
MAP_SET, 0, 0, 0, LIMIT=map_limits, /ISOTROPIC, ZVALUE=1.0, /NOERASE, /T3D
MAP_CONTINENTS


Can anyone help me?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Warping or image fitting
Next Topic: Re: Problems writing netCDF files

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

Current Time: Wed Oct 08 19:44:04 PDT 2025

Total time taken to generate the page: 0.00497 seconds