Hi Kris,
This is the behavior of SHADE_SURF. That said, the workaround with XYOUTS isn't bad.
Given this approximation to your figure:
IDL> window, 0
IDL> shade_surf, dist(40), title='IDL Graphics', ax=90, az=0
here are the reengineered steps to produce "on the glass" text:
IDL> window, 1
IDL> shade_surf, dist(40), ax=90, az=0, zstyle=4 ; note I removed the z axis
IDL> xyouts, 0.5, 0.95, 'IDL Graphics', alignment=0.5, /normal
Note that the coordinates given for XYOUTS should be fairly robust.
Regards,
mp
|