octave-maintainers
[Top][All Lists]
Advanced

[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



reply via email to

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