Re: Questions about IDL 8.0 [message #73726 is a reply to message #73725] |
Wed, 24 November 2010 10:02   |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 11/24/10 8:34 AM, Mark Piper wrote:
> On Nov 23, 4:12 pm, Paulo Penteado<pp.pente...@gmail.com> wrote:
>> 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
>
> Here's a way to move the existing Z axis:
>
> IDL> s = surface(/test)
> IDL> (s['zaxis']).location = [0, (s.yrange)[1], 0]
What are the allowable names? I see 'xaxis', 'yaxis', and 'zaxis', but
are there clever names for the other axes like when AXIS_STYLE=2? And
what exactly is that name, part of an identifier?
Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
|
|
|