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

Home » Public Forums » archive » IDLgrAxis and scaling
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
IDLgrAxis and scaling [message #34497] Wed, 19 March 2003 01:10
Thomas Gutzler is currently offline  Thomas Gutzler
Messages: 44
Registered: November 2002
Member
Hi,

I tried to prevent the axis-text to be scaled while scaling a model with
the axes added.

; define axis
zaxis = OBJ_NEW('IDLgrAxis', 2, Range=[0, 10], ZCoord_Conv=[0.0,
1.0/10], Color=color, Ticklen=0.1)

; set property of ticktext to auto recompute
zaxis->GetProperty, Ticktext=text
text->SetProperty, Recompute_Dimensions=1
zaxis->SetProperty, Ticktext=text

model->Add, zaxis

If I scale the model
model->Scale, 1.0, 1.0, 3.0

the textheight changes and starts looking ugly

help?

Tom
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Triangulate in C
Next Topic: Fullscreen Object graphics ?

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

Current Time: Wed Oct 08 13:17:45 PDT 2025

Total time taken to generate the page: 0.00346 seconds