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

Home » Public Forums » archive » Re: 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
Re: working on multiple z buffers at once? [message #75066 is a reply to message #75065] Wed, 16 February 2011 04:27 Go to previous messageGo to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Feb 15, 10:15 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
> 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.

I think you want to use CG or NG for this - you want buffered objects
which can each store figures and that you can reference by name. CG
will almost certainly be faster. Set up however many cgWindows you
need.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Resizeable Graphics window
Next Topic: Re: Yesterday's Coyote Graphics Update

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

Current Time: Fri Oct 10 04:28:55 PDT 2025

Total time taken to generate the page: 0.47486 seconds