help-octave
[Top][All Lists]
Advanced

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

Re: Print plot error


From: Dmitri A. Sergatskov
Subject: Re: Print plot error
Date: Sat, 22 Aug 2009 14:36:18 -0500

> I am not sure if this is an OS issue, or octave's ...
>

Now it looks to me that this is octave problem -- in particular the
way it calls
gnuplot in print(). I.e. if you simplify your loot to

more off
filename = "myRandomFrames";
plot (rand (8))
for n = 1:1000
  fprintf ("Printing frame %d\n", n);
  print  (filename, "-dpng");
  sleep(1.0)
endfor

You still get the same problem. Yet if you do

more off
filename = "myRandomFrames";

for n = 1:1000
  plot (rand (8))
  fprintf ("Printing frame %d\n", n);
  # print  (filename, "-dpng");
  sleep(1.0)
endfor

Than it runs fine (no defunct gnuplots)

Dmitri.
--


reply via email to

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