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

Home » Public Forums » archive » working on multiple z buffers at once?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
working on multiple z buffers at once? [message #75072] Tue, 15 February 2011 19:15 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
So I'm looping through files, and after processing each file I have a plot. In the end I want to have:
1. A copy of the plot for each file.
2. A master figure that has the plots for all the files on it, in a nice grid.
I'd like these as both postscript and .png ideally, but I at least need postscript of the individual plots and a .png of the master figure.

So what I'd really like to do is to be able to output to several different postscript files at once. Barring that, I'd like to be able to output to several different z buffers at once.

My best idea so far is to create a z buffer, write the first plot in the grid to it, tvread() it out to a variable, then plot out the first individual plot to a postscript and/or png file, then re-create the old z buffer by putting the image back in, add the second plot, tvread() it back to a variable, etc....

Which, I'm sure, would work. But seems a little less than elegant. Does anyone have any better suggestions?

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 7: Window blanks while waiting for input from the workbench
Next Topic: Code optimization

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

Current Time: Thu Oct 09 23:20:30 PDT 2025

Total time taken to generate the page: 0.40116 seconds