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

Home » Public Forums » archive » Re: IDL and X and PS
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: IDL and X and PS [message #596 is a reply to message #593] Wed, 16 September 1992 06:49 Go to previous messageGo to previous message
offenberg is currently offline  offenberg
Messages: 5
Registered: October 1992
Junior Member
In article <1992Sep14.204750.8612@sunspot.noao.edu>, mcgraw@sunspot.sunspot.noao.edu (Robert McGraw) writes...
> I am looking for any information and/or procedures that make it
> eash to stay with the same coordinates system when going from
> set_plot,'x to/from set_plot,'ps' in IDL.
>
> For example, it seems that tv and xyouts uses a different coordinate
> system in PostScript then when in the X environment.
>
> Is there a way to make a procedure work the same when in X or PS
> without having to make a lot of changes?
>
> Thanks
> Robert
Another thing to play around with is the /NORMAL keyword (which works for
all graphics commands in IDL, such as XYOUTS). This indicates that the
coordinates you are giving are to be normalized to the image you are working
with (i.e. 0.0 0.0 is the lower left corner, 1.0 1.0 is the upper right).
It may take a bit longer to touch up what you want on screen, but it should
transfer with minimal problems to Postscript (or any other format...)

In Postscript, where there will be space below the bottom of the image, it is
possible to specify a negative y coordinate, by the way.
_______________________________________________________
Joel D. Offenberg
Hughes STX
Offenberg@stars.gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and X and PS
Next Topic: SAVE/RESTORE of sysvars (was IDL and X and PS)

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

Current Time: Wed Oct 08 18:50:53 PDT 2025

Total time taken to generate the page: 0.02222 seconds