HELP! How to place a map above a 3d surface???? [message #7046] |
Wed, 11 September 1996 00:00 |
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?
|
|
|