octave-maintainers
[Top][All Lists]
Advanced

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

Re: Comparing plots to Matlab


From: Søren Hauberg
Subject: Re: Comparing plots to Matlab
Date: Thu, 02 Dec 2010 16:00:34 +0100

tor, 02 12 2010 kl. 10:32 +0100, skrev Soren Hauberg:
> tor, 02 12 2010 kl. 04:28 -0500, skrev John W. Eaton:
> > On  2-Dec-2010, Soren Hauberg wrote:
> > 
> > | backend fltk
> > | 
> > | t=0:0.01:2*pi; x=sin(t);
> > | 
> > | plot(t, x);
> > | 
> > | name = 'axis_1_1.png';
> > | sleep (2); % removing this avoids the crash
> > | print (name, '-dpng');
> > 
> > Running this script works for me with a copy of Octave built from the
> > current sources.
> 
> It might be OpenGL driver related (I've had issues with the intel driver
> in the past). I'll see if I can debug this.

Hmm, I've had a look at this and it *seems* (things get tricky when
graphics are involved) the crash happens in '__fltk_redraw__' (in
fltk_backend.cc:1716). Specifically, the first call to 

      Fl::check ();

(line 1741) seems to be where the crash happens. I don't really have a
clue as to why this would be the case :-(

Soren



reply via email to

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