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

Home » Public Forums » archive » XYOUTS and ORIENTATION keyword: use negative values to anchor on end of string
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
XYOUTS and ORIENTATION keyword: use negative values to anchor on end of string [message #93573] Wed, 24 August 2016 11:31 Go to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
IDL folks,

There's a pretty good chance I have this wrong, but I'm at least pretty sure the documentation is also wrong. If someone knows the definitive answer, please post it here for everyone.

Basically, when ORIENTATION is used, setting ALIGNMENT=1.0 will still anchor the text at the start, meaning the position argument passed to XYOUTS will be the start of the string. However, if a negative value is passed to ORIENTATION, the position argument will be the end of the string, which IMO is what ALIGN=1 should do. This does not appear to be documented in the XYOUTS docs or the documentation for the ORIENTATION graphic keyword.

--Edward H.
[Message index]
 
Read Message
Read Message
Previous Topic: ROI to EVF and vice versa in IDL
Next Topic: Programmatically close all function graphics windows

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

Current Time: Wed Oct 08 13:31:34 PDT 2025

Total time taken to generate the page: 0.00390 seconds