octave-maintainers
[Top][All Lists]
Advanced

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

Re: Comparing plots to Matlab


From: Kai Habel
Subject: Re: Comparing plots to Matlab
Date: Thu, 02 Dec 2010 10:07:39 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100914 SUSE/3.1.4 Lightning/1.0b2 Thunderbird/3.1.4

 On 02.12.2010 07:50, John W. Eaton wrote:
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

John and Soeren,

which octave version have you used? I ask because I see a different output for the 2nd clabel test using the current tip. My labels are not rotated.

Kai


reply via email to

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