Re: change line spacing [message #8324] |
Mon, 24 February 1997 00:00  |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
Try taking a look at DISP_TXT. I think with a liitle tweaking you can
get it to do what you want.
Check out this snippet:
IDL> window, 0
IDL> strings = strarr(4)
IDL> strings(0) = '`J0.5`'
IDL> strings(1) = 'test'
IDL> strings(2) = 'Another test'
IDL> strings(3) = 'Final test'
IDL> fonts = ''
IDL> disp_txt,strings,fonts,28,xstart = 100, ystart = 500
IDL> disp_txt,strings,fonts,56,xstart = 400, ystart = 500
Note that if you want to use these for outputting text to a plot window
you'll have to do the device to data coordiantes conversion yourself as
DISP_TXT doesn't have a /data keyword.
Good luck,
phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|