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

Home » Public Forums » archive » Postscript dump to a Laserwriter
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 Dump [message #3132 is a reply to message #637] Sat, 12 November 1994 06:13 Go to previous messageGo to previous message
soc is currently offline  soc
Messages: 12
Registered: October 1994
Junior Member
Ken Ganga (ganga@physics23) wrote:
: Hello,

: I got such swift and helpful advice last time I posted here that I
: thought I'd try again.

: I am working on a program in which I have a single plot that changes a
: lot. If I like the plot at a certain point, I would like to be able to
: make a postscript file of the plot as it stands. That is, I would like
: to be able to get an initial graph, muck around with it a bit, then
: dump whatever is in the plot at the moment to a postscript file. Just
: a dump to a postscript file. Using SET_PLOT, 'PS' won't work because I
: would like to see what I am doing to the plot. I seem to be able to
: dump the graph in sun rasterfile format with WRITE_SRF (and I can even
: convert it with XV or whatever), but I would like to be able to make a
: postscript file completely within IDL.

: Thanks for any help,

: Ken

Hi, this can easily be done (as a bit map at least!) by loading the
content sof the current graphics window into a variable with the command
a=tvrd()
then open a ps file in the normal way and do a tv,a to print the bit map
into the PS file, then close and print the file in the usual way.

hope this helps,
Rob


: --
: Ken Ganga | (510)642-3618
: 433 LeConte Hall | (510)643-5204 (Fax)
: Berkeley, CA 94720 | ganga@physics.berkeley.edu
: --
: Ken Ganga | (510)642-3618
: 433 LeConte Hall | (510)643-5204 (Fax)
: Berkeley, CA 94720 | ganga@physics.berkeley.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Plotting with both xstyle=1 and 4
Next Topic: Re: Debugging w/widgets

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

Current Time: Sat Oct 11 09:19:17 PDT 2025

Total time taken to generate the page: 0.08109 seconds