|
Getting Started with IDL: Plotting Irregularly Gridded Data |
|
Create a set of 32 irregularly-gridded data points in 3-D space that we can use as arguments to the TRIGRID and TRIANGULATE functions.
WINDOW
SEED=1L
N=32
X=RANDOMU(SEED,N)
Y=RANDOMU(SEED,N)
Z=EXP(-3*((X-0.5)^2+(Y-0.5)^2))