Re: Plot to Image [message #3498 is a reply to message #3405] |
Fri, 27 January 1995 06:13  |
ryba
Messages: 33 Registered: October 1992
|
Member |
|
|
In article <1995Jan27.131134.14811@alw.nih.gov>, bertin@euler.cpi.com writes:
|> >In article <3g90j5$f7u@ncar.ucar.edu> cavanaug@uars1.acd.ucar.edu (Charles
|> Cavanaugh) writes:
|> >>
|> >>I would like to create a GIF file of one of my IDL plots. Does anyone know
|> >>a way to transfer a plot to an image, without first displaying the plot and
|> >>then using tvrd to capture it? My main concern is that I don't want to
|> >>display the plot, I just want to capture it into an image.
|> >>
|> >
|> Try plotting to a 2-D Z-Buffer device. You will still need to use tvdr,
|> but the plotting will not be displayed.
Not to nitpick (I'm sure the Z-buffer works, though the comment
about fonts gives me pause), but I've had perfectly fine results using
the X driver and the following..
window, /pixmap ; Create a new graphics window as a pixmap
(etc., including TVRD, TVLCT, WRITE_GIF)
Any comments on the difference between a X pixmap and a Z-buffer? I
guess if you are running a remote X-terminal it may matter. Also,
given the clunkiness of various X servers (like Sun's), maybe having
IDL do the memory management is better.
--
Dr. Marty Ryba | Generation X:
MIT Lincoln Laboratory | Too young to be cynical,
ryba@ll.mit.edu | too old to be optimistic.
Of course nothing I say here is official policy, and Laboratory affiliation is
for identification purposes only, blah, blah, blah....
|
|
|