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

Home » Public Forums » archive » Re: Strange positioninig with xyouts
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: Strange positioninig with xyouts [message #46625 is a reply to message #46623] Thu, 01 December 2005 05:09 Go to previous message
rm is currently offline  rm
Messages: 4
Registered: June 2005
Junior Member
Hows about using device coordinates

scale=0.5
pos=CONVERT_COORD(10,10, /data, /to_device)
XYOUTS, pos[0], pos[1]-!d.y_ch_size*scale, /device, '*', align=0.5

you might need to modify scale, as the character might not be
vertically centered

Or alternatively if all you want to do is put a symbol at (10,10) then
use the PLOTS command

PLOTS, 10, 10, psym=2
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Strange positioninig with xyouts
Next Topic: Re: Performance improvement on IDL 6.2 for Linux/MacOSX?

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

Current Time: Wed Oct 08 18:56:12 PDT 2025

Total time taken to generate the page: 0.00390 seconds