| Take a simple surface graphics and draw its height as grayscale image.
Combine the surface and the height image into a single image.
|
In[1]:=
gp = Plot3D[Sin[x] Sin[y], {x, -2, 2}, {y, -2, 2}]
In[2]:=
dp = DensityPlot[Sin[x] Sin[y], {x, -2, 2}, {y, -2, 2}]
In[3]:=
ga = GraphicsArray[{gp, dp}];
In[4]:=
JavaView[ga]
|