[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Comparing plots to Matlab
From: |
John W. Eaton |
Subject: |
Comparing plots to Matlab |
Date: |
Thu, 2 Dec 2010 01:50:20 -0500 |
On 1-Dec-2010, Søren Hauberg wrote:
| I have then tried to run the generated script in Octave with the gnuplot
| backend (it crashes the FLTK backend)
I put "pause (1)" calls before and after each call to the print
function and also removed the
visible = get (0, 'defaultfigurevisible');
set (0, 'defaultfigurevisible', 'off');
lines. Then it mostly runs with the FLTK backend. There are some
strange effects with the plot windows. They are displayed (as I
expected) but they are sometimes jumbled. I have no idea what could
cause that to happen.
Printing the slice demo fails with the following ghostscript error:
Error: /undefined in nan
Operand stack:
--dict:1161/1684(ro)(G)-- --nostringval-- 276.14 99.1793
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop
1877 1 3 %oparray_pop --nostringval-- 1861 1 3 %oparray_pop
1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2
--nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
--nostringval--
Dictionary stack:
--dict:1161/1684(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--
--dict:40/64(L)--
Current allocation mode is local
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
warning: broken pipe -- some output may be lost
A few other plots apparently fail to print because the files are
missing.
I took your page and inserted the fltk plots. The results are here:
http://jweaton.org/compare-plots.html
Grab the png files and use them on the Octave Forge site if you'd
like.
jwe
- Re: Comparing plots to Matlab, (continued)
- Re: Comparing plots to Matlab, Ben Abbott, 2010/12/05
- Re: Comparing plots to Matlab, Ben Abbott, 2010/12/05
- Re: Comparing plots to Matlab (semilogy), Michael D Godfrey, 2010/12/05
- Re: Comparing plots to Matlab (semilogy), Ben Abbott, 2010/12/05
- Re: Comparing plots to Matlab (semilogy), Michael D Godfrey, 2010/12/05
- Re: Comparing plots to Matlab (semilogy), Ben Abbott, 2010/12/05
Re: Comparing plots to Matlab, Jordi Gutiérrez Hermoso, 2010/12/01
Comparing plots to Matlab,
John W. Eaton <=
- Re: Comparing plots to Matlab, Michael D Godfrey, 2010/12/02
- Re: Comparing plots to Matlab, John W. Eaton, 2010/12/02
- Re: Comparing plots to Matlab, Michael D Godfrey, 2010/12/02
- Re: Comparing plots to Matlab, John W. Eaton, 2010/12/02
- Re: Comparing plots to Matlab, John W. Eaton, 2010/12/02
- Re: Comparing plots to Matlab, Shai Ayal, 2010/12/02
Bad file pointer [was: Re: Comparing plots to Matlab], Søren Hauberg, 2010/12/02
Re: Bad file pointer [was: Re: Comparing plots to Matlab], Shai Ayal, 2010/12/02
Re: Bad file pointer [was: Re: Comparing plots to Matlab], Søren Hauberg, 2010/12/03
Re: Bad file pointer [was: Re: Comparing plots to Matlab], Shai Ayal, 2010/12/03