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

Home » Public Forums » archive » write plots alternately to two postscripts files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
write plots alternately to two postscripts files [message #73009] Tue, 19 October 2010 08:31
Giuseppe Papa is currently offline  Giuseppe Papa
Messages: 27
Registered: February 2010
Junior Member
The problem sounds easy, but I do not know where to find the solution.
I want to write a program which should create two different postscript files, each having 100+ pages.
However I don't want to open, create and close them one after another.
It should work like this:

Read and process a chunk of data.
Add a plot to file 1
Add a plot to file 2
Read and process new chunk of data
add a plot to file 1
Add a plot to file 2
and so on

As the processed data is really large it is not possible to keep it all in memory. So first finish file1 and then create file2 is not an option.

Is there any chance to switsch between to output files?
Any help is appreciated!
Simon
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: no bitmap on widget base in Solaris
Next Topic: IDL runtime

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

Current Time: Wed Oct 08 13:33:44 PDT 2025

Total time taken to generate the page: 0.00493 seconds