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

Home » Public Forums » archive » Re: Saving XYOUTS
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: Saving XYOUTS [message #67013 is a reply to message #67011] Thu, 25 June 2009 16:55 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vikram writes:

> I am sorry for all the questions, but you I am new to IDL and guys are
> giving awesome answers! I really appreciate it!
>
> Is there any way to save a plot or image with text written with XYOUTS
> on it, without using TVRD()?

OK, I thought about this the whole time I was taking my
shower and I've come up with what I think is a brilliant
solution.

PS_Start, File='example_wo_tvrd.ps'
TVImage, LoadData(7), /KEEP
XYOUTS, 0.5, 0.5, /NORMAL, 'This is some text', FONT=0, CHARSIZE=2.0
PS_END, /TIFF

You will find the file "example_wo_tvrd.tif" in your
current directory. It will have text written on the
image!

Cheers,

David

P.S. Of course, I *assume* you have ImageMagick installed
properly.

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Saving XYOUTS
Next Topic: iTools -> IDL command line code?

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

Current Time: Fri Oct 10 05:35:55 PDT 2025

Total time taken to generate the page: 0.96127 seconds