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

Home » Public Forums » archive » set_character_size and 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
set_character_size and XYOUTS [message #21504] Tue, 29 August 2000 00:00
Declan Vogt is currently offline  Declan Vogt
Messages: 11
Registered: January 1998
Junior Member
Hi,

;I'm missing something. I am creating a plot area and setting a
character
;size, using

window, xsize=400,ysize=720
device, set_character_size=[15,20]
!p.charsize=1.0

;then plotting some data in 3 graphs:
!p.multi=[0,1,3]
plot, findgen(100)
plot, findgen(100)
plot, findgen(100)

;then writing some text using XYOUTS:
xyouts, 0.5, 0.1, 'Hello', /normal

All my graphs look the way I want them to look, nicely scaled for the
large plot area, with legible axes. But the text I am writing over the
top is very much larger. XYOUTS takes charsize, but I find I have to set
it to about 0.6 to get the text to be the same size, which I don't
understand: surely if the character size is set, then XYOUTS should get
its character size from that too?

All help very much appreciated,

Declan

(I'm using IDL 5.1 running under Windows NT4.0 on an 8 bit display, if
that makes any difference)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: stepwise regression
Next Topic: list widgets

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

Current Time: Wed Oct 08 11:37:04 PDT 2025

Total time taken to generate the page: 0.00526 seconds