[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xyouts character size to scale with the size of the plot window



I hope this is not a too FAQ:

IDL> !p.multi=0
IDL> plot,indgen(10)
IDL> xyouts,7,3,'A string',/data,charsize=.7  ; Gives text reasonably
sized for my purpose
IDL> !p.multi=[0,3,7]
IDL> plot,indgen(10)
IDL> xyouts,7,3,'A string',/data,charsize=.7  ; Gives text which is too
large for the window.

How to get the xyouts character size to scale with the size of the plot
window?

Thanks for any help.
Best regards, Kristian Kjr