|
Re: "perspective-ized" axis numbering in iSurface [message #72069 is a reply to message #72068] |
Thu, 12 August 2010 15:42   |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 8/12/10 3:23 PM, James wrote:
> I really don't like how iSurface puts axis labels "in plane" and
> distorts them. At certain combinations of rotation angle and axis
> position they are almost impossible to read. I just want regular old
> undistorted numbers. I couldn't find anything in the axis options to
> control this - is it possible?
Like this?
isurface, dist(20)
id = itgetcurrent(tool=tool)
axes_ids = igetid('axis*')
igetproperty, axes_ids[0], ticktext=ticktext
ticktext->setProperty, onglass=1
igetproperty, axes_ids[1], ticktext=ticktext
ticktext->setProperty, onglass=1
igetproperty, axes_ids[2], ticktext=ticktext
ticktext->setProperty, onglass=1
tool->refreshCurrentWindow
I don't know of an easier way, though.
Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
|
|
|
Re: "perspective-ized" axis numbering in iSurface [message #72207 is a reply to message #72069] |
Fri, 13 August 2010 12:41  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Hmm. This is what happens to me when I run your snippet (I'm also interested in non-"in-plane" axis labels).
IDL> isurface, dist(20)
% Compiled module: DIST.
% Compiled module: GET_SCREEN_SIZE.
% Compiled module: FILEPATH.
% Compiled module: PATH_SEP.
% Loaded DLM: XML.
% Compiled module: UNIQ.
% Compiled module: REVERSE.
% Compiled module: CVTTOBM.
% Compiled module: IDENTITY.
% Compiled module: XMANAGER.
% Compiled module: STRSPLIT.
% Compiled module: CROSSP.
IDL> id = itgetcurrent(tool=tool)
IDL> axes_ids = igetid('axis*')
% Attempt to call undefined procedure/function: 'IGETID'.
% Execution halted at: $MAIN$
??
IDL> print, !version
{ x86 linux unix linux 7.0 Oct 25 2007 32 64}
cheers,
paulv
p.s. I never realised v7.0 was that old! Crikey.
mgalloy wrote:
> On 8/12/10 3:23 PM, James wrote:
>> I really don't like how iSurface puts axis labels "in plane" and
>> distorts them. At certain combinations of rotation angle and axis
>> position they are almost impossible to read. I just want regular old
>> undistorted numbers. I couldn't find anything in the axis options to
>> control this - is it possible?
>
> Like this?
>
> isurface, dist(20)
> id = itgetcurrent(tool=tool)
> axes_ids = igetid('axis*')
> igetproperty, axes_ids[0], ticktext=ticktext
> ticktext->setProperty, onglass=1
> igetproperty, axes_ids[1], ticktext=ticktext
> ticktext->setProperty, onglass=1
> igetproperty, axes_ids[2], ticktext=ticktext
> ticktext->setProperty, onglass=1
> tool->refreshCurrentWindow
>
> I don't know of an easier way, though.
>
> Mike
|
|
|