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

Home » Public Forums » archive » Re: change line spacing
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: change line spacing [message #8324] Mon, 24 February 1997 00:00 Go to previous message
Phil Williams is currently offline  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/
/*********************************************************** ********/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: variable number of colors available on screen
Next Topic: Re: defining of x_ch_size in !D

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

Current Time: Thu Oct 09 08:57:21 PDT 2025

Total time taken to generate the page: 8.24005 seconds