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

Home » Public Forums » archive » Re: ps file with text
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: ps file with text [message #50425 is a reply to message #50396] Mon, 02 October 2006 11:22 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
adisn123@yahoo.com wrote:
> Hi,
> Using "set_plot = ps" I created a ps file.
> I'm trying to resize the ps image and add some text (such as Figure1.
> ~~~) in my word text of lab paper.
> How do I take the ps file and add text into it?
>
> Thanks.
>

Hi,

to add text into the PS file while creating in IDL you would use the
XYOUTS command. Note that on the PS device you probably don't want to
use device coordinates to position the text, but rather data or normal
coordinates. To change the size, you can use the command "device,
xsize=..., ysize=..." after "set_plot, 'ps'", even though you can
usually scale the figure later when inserting it into the document.

Another option would be to use iTools instead of direct graphics to
visualize the data and then export to PS. In iTools you can easily add
simple annotations. You can save the iTool and edit it later, which I
find very useful.

To edit a PS file after it has been created, many people use Adobe
Illustrator (which is quite expensive). I believe free programs to edit
PS files are, for example, Xfig or Inkscape, but I don't have any
experience with them.

As a side note, text like "Figure 1" often appears in the figure
*caption* instead of the the figure itself, in which case you would use
the text processing software (Word, LaTeX, ...) to do that (which can
also take care of automatic numbering etc.).

Good luck,
Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: subset an image by roi in idl
Next Topic: Re: Low pass filter - Problem with kernel

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

Current Time: Fri Oct 10 06:11:30 PDT 2025

Total time taken to generate the page: 0.08121 seconds