[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plot(A); print('figure.png'); plot(A); Interrupt script in Octave 3.
From: |
Tatsuro MATSUOKA |
Subject: |
Re: plot(A); print('figure.png'); plot(A); Interrupt script in Octave 3.8.1 |
Date: |
Sat, 27 Jun 2015 08:06:29 +0900 (JST) |
----- Original Message -----
> From: Ricardo
> To: address@hidden
> Cc:
> Date: 2015/6/26, Fri 22:54
> Subject: plot(A); print('figure.png'); plot(A); Interrupt script in Octave
> 3.8.1
>
> Hello,
> The mail title is the fast question, the true question is, does the
> last version of octave interrupt script is this way?
> I'm using Ubuntu 14.04. I installed Octave 3.8.1 using apt-get and
> install image-2.2.2 using pkg install.
> If I create a simple script plot.m:
> A = 1:10;
> plot(A)
> print('figure.png')
> plot(2*A)
>
> and then in octave command:
> run 'plot.m'
Do not make script file named "plot.m".
plot.m exist in octave itself.
> It shows an warning with epstools and don't continue the script, ie.
> doesn't show the plot(2*A).
>
> I can rewrite script as
> A = 1:10;
> plot(A)
> print('figure.png')
> newplot();
> plot(2*A)
>
> and the command plot(2*A) is executed as expected.
>
> After that I discovered that, if I install epstools and fig2ps
> everything works fine, even without the newplot().
>
> Could someone try in the last version of octave, and if it's a bug, report
> it?
What do you mean? I cannot figure out what is wrong.
Why do you think newplot() is required?
Tatsuro