Re: Questions about IDL 8.0 [message #73747 is a reply to message #73746] |
Tue, 23 November 2010 15:12   |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Nov 23, 8:44 pm, Leslie Sherrill <leslie.wel...@gmail.com> wrote:
> (2) I'm trying to set up the z axis ticks and title to be at the back
> of the surface plot. The z axis defaults to a location right in front
> of the surface, and is often obscured by the data. I noticed that
> even the documentation examples always show that z axis in front
> rather than at the back of the y axis. Anyone know of a quick-fix?
IDL> s=surface(dist(100),ztitle='Z')
IDL> axes=s.axes
IDL> foreach el,axes do if (el.title eq 'Z') then break ;find out
which axis is Z
IDL> el.hide=1 ;hide that axis
IDL> za=axis('Z',location=[(s.xrange)[0],(s.yrange)[1],0d0]) ;make a
new Z axis, at the back
|
|
|