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

Home » Public Forums » archive » tile of IDLgrAxis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: tile of IDLgrAxis [message #49588 is a reply to message #49495] Wed, 02 August 2006 09:17 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Hi Klemens,

You could do this a couple of ways. One is to simply place an IDLgrText
object where you want without assigning it to your axis TITLE property.
The other is to modify your text object after you assign it to your
IDLgrAxis object (and you probably don't *have* to do it afterwards).
The second being a bit easier since properties relevant to the correct
placement and color are controlled by IDLgrAxis. But since we can only
assume what properties of the title object are modified by IDLgrAxis
this could have unexpected side effects.

Simply changing the BASELINE and UPDIR properties should do it for you:

yaxis = OBJ_NEW('IDLgrAxis', 1, RANGE=[0,10])
text = OBJ_NEW('IDLgrText', 'This is a test')
model = OBJ_NEW('IDLgrModel')
yaxis -> SetProperty, TITLE=text
text -> SetProperty, BASELINE=[-1,0,0], UPDIR=[0,-1,0]
model -> Add, yaxis
XOBJVIEW, model, /BLOCK
OBJ_DESTROY, [model, text]

-Rick




Klemens Barfus wrote:
> Hello together,
>
> is there an option for rotating the title of an y Axis of a
> threedimensional object graphic by 180 degree around the z axis ?
>
> Thanks for your help in advance !
>
> Klemens
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: routine in ENVI to pass from EVF to ROI????
Next Topic: Re: Length of command line input

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

Current Time: Sat Oct 11 13:16:18 PDT 2025

Total time taken to generate the page: 0.95752 seconds