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

Home » Public Forums » archive » Rotated text with IDL Object Graphics?
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
Rotated text with IDL Object Graphics? [message #11722] Sun, 03 May 1998 00:00
dEdmundson is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Reinventing the IDL wheel: 2D Object Graphics plots
Next Topic: Q: Multiple File select

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

Current Time: Wed Oct 08 19:16:42 PDT 2025

Total time taken to generate the page: 0.00563 seconds