Rotated text with IDL Object Graphics? [message #11722] |
Sun, 03 May 1998 00:00 |
dEdmundson
Messages: 23 Registered: February 1998
|
Junior Member |
|
|
I am struggling to get 90 degree rotated text for the
y-axis label on a 2D plot. Can anyone tell me why the
following code snippet doesn't have any effect on how
theta is printed, regardless of the parameters I choose?
symbolfont = obj_new('IDLgrfont', name='symbol',size=26.0)
yaxistext = obj_new('IDLgrtext', 'q', font=symbolfont)
; next 2 lines should set text orientation ...
yaxistext -> setproperty, baseline = [1.0,0.0]
yaxistext -> setproperty, updir = [0.0,1.0]
yaxis -> setproperty, title=yaxistext
Regards,
Darran Edmundson
dEdmundson@bigfoot.com
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
|
|
|