working on multiple z buffers at once? [message #75072] |
Tue, 15 February 2011 19:15  |
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.
|
|
|
|
Re: working on multiple z buffers at once? [message #75171 is a reply to message #75072] |
Fri, 18 February 2011 09:01  |
Jeremy Bailin
Messages: 618 Registered: April 2008
|
Senior Member |
|
|
On Friday, February 18, 2011 11:29:05 AM UTC-5, David Fanning wrote:
> Jeremy Bailin writes:
>
>> By the way, I don't suppose you could add equivalent controls to programmatically create the raster files? :-)= (or is the answer: just span a call to convert yourself!)
>
> Yeah, I thought about this. I knew this was coming.
> I didn't do it because there would have to be controls
> for rasters with and without ImageMagick. I think it
> needs to be done. But I need to prioritize my time
> right now, and this got put down at the bottom of the
> prioritized ToDo list. It is NOT hard to do. You
> could probably figure it out and send it to me, now
> that you have a prototype finished for you. :-)
Heheh... fair enough. :-)= Sounds like a good thing to do on a Friday afternoon...
-Jeremy.
|
|
|
Re: working on multiple z buffers at once? [message #75175 is a reply to message #75072] |
Fri, 18 February 2011 08:29  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jeremy Bailin writes:
> By the way, I don't suppose you could add equivalent controls to programmatically create the raster files? :-)= (or is the answer: just span a call to convert yourself!)
Yeah, I thought about this. I knew this was coming.
I didn't do it because there would have to be controls
for rasters with and without ImageMagick. I think it
needs to be done. But I need to prioritize my time
right now, and this got put down at the bottom of the
prioritized ToDo list. It is NOT hard to do. You
could probably figure it out and send it to me, now
that you have a prototype finished for you. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|