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

Home » Public Forums » archive » Strange positioninig with xyouts
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Strange positioninig with xyouts [message #46626] Thu, 01 December 2005 02:04
Darius is currently offline  Darius
Messages: 2
Registered: December 2005
Junior Member
Dear group,

how do I get the asterisk to be at 10.0, 10.0 and not at 10.0, 10.5?
And, the larger the charsize the higher the asterisk in the
y-direction.
BTW, I use IDL 6.0 on WinXP.

pro test_xyouts
loadct, 13
x = indgen(20)
_10 = MAKE_ARRAY(20, /INTEGER, VALUE = 10)
set_plot, 'ps'
device, filename='test_xyouts.ps', /color
plot, x, _10, xrange=[0,20], yrange=[0,20]
oplot, _10, x
xyouts, 10.,10., '*', /data, charsize=1, FONT=0.0, ALIGNMENT=0.5,
color=250
device, /close
end


Cheers, Darius
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: destroying x-registered windows
Next Topic: Re: Strange positioninig with xyouts

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

Current Time: Wed Oct 08 14:55:40 PDT 2025

Total time taken to generate the page: 0.00459 seconds