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

Home » Public Forums » archive » Postscript simplifying and example procedures
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: postscript [message #2767 is a reply to message #1607] Tue, 20 September 1994 10:16 Go to previous messageGo to previous message
8015 is currently offline  8015
Messages: 52
Registered: November 1993
Member
In article <1994Sep19.175952.24490@msuvx1.memphis.edu>,
PAVAN VEMULAKONDA <pvemulakonda@cc.memphis.edu> wrote:
> I want to convert the image on screen to a postscript file to get a
> printout, how can I do it on IDL.
>
> pavan

I'll assume the display device is correctly set to the window you wish to
convert to a postscript file.

IDL> image = tvrd() ; read the data from the current graphics window
IDL> set_plot, 'ps' ; set the plot device to postscript
IDL> tv, image ; display the data into the postscript file (idl.ps)
IDL> device, /close ; close the device (add'l info sent to idl.ps)

See Chapter 3, "IDL Graphics Devices" of the IDL Reference Guide for a
description of the keywords available for postscript devices. There is
quite a bit of info in there regarding scaling and color mapping.

Mike Schienle Hughes Santa Barbara Research Center
8015@sbsun0010.sbrc.hac.com 75 Coromar Drive, M/S B28/87
Voice: (805)562-7466 Fax: (805)562-7881 Goleta, CA 93117
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: PV-WAVE widgets
Next Topic: Re: widget builder?

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

Current Time: Fri Oct 10 13:29:11 PDT 2025

Total time taken to generate the page: 0.16211 seconds