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

Home » Public Forums » archive » text inversion when inverting axis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: text inversion when inverting axis [message #88659 is a reply to message #88656] Mon, 26 May 2014 10:43 Go to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
> Note that the docs say that BASELINE=[1,0,0] is the default. However, the following two lines have different results (for me, on IDL 8.2).
>
> tx1=Text(2, 2.5, 'b=sqrt(a)', /DATA, ORIENTATION=45, BASELINE=[1,0,0])

Actually, any orientation between 1 and 89 give me the same results.

Any value of ORIENTATION between 90 and 179 give another fixed orientation
..................................180
..................................181 and 269
..................................270
..................................271 and 359


The following line also gives the results you desire, and should be less dependent on the glitchy behavior

tx=text(2, 2.5, 'b=sqrt(a)', /data, ORIENTATION=180, UPDIR=[0,1,0])

Note again, however, that UPDIR=[0,1,0] should be the default. The following two lines give different results, though

tx1=text(2, 2.5, 'b=sqrt(a)', /data, ORIENTATION=180)
tx2=text(2, 2.5, 'b=sqrt(a)', /data, ORIENTATION=180, UPDIR=[0,1,0])
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Having READ ingest the input without waiting for return key to be hit?
Next Topic: idl crashes

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

Current Time: Fri Oct 10 09:12:19 PDT 2025

Total time taken to generate the page: 1.04041 seconds