Re: tile of IDLgrAxis [message #49638 is a reply to message #49588] |
Thu, 03 August 2006 22:48  |
Klemens Barfus
Messages: 45 Registered: December 2002
|
Member |
|
|
Hi Rick,
thanks for your help, this is exactly I was looking for !
Klemens
Rick Towler wrote:
> 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
|
|
|