Plot to Image Revisited [message #3403] |
Thu, 26 January 1995 13:06 |
cavanaug
Messages: 18 Registered: December 1994
|
Junior Member |
|
|
In article <3g915l$osv@reznor.larc.nasa.gov> zawodny@arbd0.larc.nasa.gov (Joseph M Zawodny) 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.
>>
>
> I know of no way to plot to an array, which I guess is what you are
> really asking to do. You could create a window which is a pixmap and plot
> to it, then tvrd from it when finished. Pixmaps are not displayed on the
> screen and are generally used to store images for animation, but they will
> work for you purpose just as well.
>
Thanks for pointing me in the right direction. What I need to do is SET_PLOT, 'Z'
[which is some sort of memory "pseudo device"], then do my plotting, then call TVRD
to capture it, then call WRITE_GIF to write it to a GIF file. If I'd scanned the
manual another 5 minutes, I might have come up with it on my own.
Charles
--
Charles Cavanaugh "Words are very unnecessary, they can only do harm"
cavanaug@ncar.ucar.edu - Depeche Mode
NCAR Boulder, CO, USA "Facts all come with points of view"
My opinions - Talking Heads
|
|
|