comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: "perspective-ized" axis numbering in iSurface
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: "perspective-ized" axis numbering in iSurface [message #72068] Thu, 12 August 2010 16:13 Go to next message
James[2] is currently offline  James[2]
Messages: 44
Registered: November 2009
Member
Well, it's not exactly elegant, but that does precisely what I want.
Thank you!

James
Re: "perspective-ized" axis numbering in iSurface [message #72069 is a reply to message #72068] Thu, 12 August 2010 15:42 Go to previous messageGo to next message
Michael Galloy is currently offline  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 Go to previous message
Paul Van Delst[1] is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Point Cloud Isosurface
Next Topic: "perspective-ized" axis numbering in iSurface

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:10:43 PDT 2025

Total time taken to generate the page: 0.00515 seconds