comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: tile of IDLgrAxis
items: Re: tile of IDLgrAxis

tile of IDLgrAxis
type: item
description: 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
creator: Klemens Barfus
date: 2006-08-02T06:36:04-00:00

Re: tile of IDLgrAxis
type: item
description: 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
creator: Rick Towler
date: 2006-08-02T16:17:12-00:00

Re: tile of IDLgrAxis
type: item
description: 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
creator: Klemens Barfus
date: 2006-08-04T05:48:18-00:00