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
text inversion when inverting axis [message #88655] Mon, 26 May 2014 09:39 Go to previous message
Jahvasc is currently offline  Jahvasc
Messages: 9
Registered: March 2014
Junior Member
Hi, I'm trying to make a plot with decreasing values in the x-direction. No problem with this. The problem arises when I use "text" function to write down an annotation to the plot window. Here, I give a very simple example:

a=findgen(10)
b=sqrt(a)
pl=plot(a,b,xrange=[9,0])
tx=text(0.1*max(pl.xrange),0.9*max(pl.yrange),'b=sqrt(a)',/d ata)

I get it also inverted! Am I doing something wrong?
Thanks!
[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: Wed Oct 08 18:12:27 PDT 2025

Total time taken to generate the page: 0.00450 seconds