octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tmp gets full when plotting many images


From: Daniel J Sebald
Subject: Re: tmp gets full when plotting many images
Date: Mon, 26 Mar 2007 16:29:31 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

John W. Eaton wrote:
On 26-Mar-2007, Przemek Klosowski wrote:

| For instance, would it work to keep a record of file
| names, and delete files which were used in a previous plot upon
| creating a subsequent one?

I think it is possible for gnuplot to still be processing a previous
plot when Octave starts a new plot.  I don't see how to avoid that
race condition.  Since it looks like it is possible to send all the
data in the pipe, I think that's the best solution.

Here's another option as a couple people suggested on the gnuplot list, but unfortunately I'm not sure it is portable... only of use in unix based systems: stuff an "rm" at the end of the plot command so that gnuplot removes the file afterward:

sprintf("!rm -f %s\n", tmpfile)

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]