octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk printing


From: Ben Abbott
Subject: Re: fltk printing
Date: Sat, 07 Aug 2010 20:16:33 -0400

On Aug 7, 2010, at 8:00 PM, Dmitri A. Sergatskov wrote:

> On Sat, Aug 7, 2010 at 6:37 PM, Michael D Godfrey
> <address@hidden> wrote:
> 
>> It may be good to look at the drawnow code.
>> 
> 
> Here is some interesting test:
> 
> # drawnowt.m
> backend("fltk");
> plot(1:2);
> drawnow("eps","junk111.eps");
> 
> running
> octave < drawnowt.m
> 
> results in:
> 
> warning: implicit conversion from matrix to sq_string
> error: fltk_backend: could not recognize fltk index
> error: called from:
> error:   /home/dima/src/octave/scripts/miscellaneous/delete.m at line
> 48, column 1
> error:   /home/dima/src/octave/scripts/plot/closereq.m at line 37, column 7
> error:   /home/dima/src/octave/scripts/plot/close.m at line 63, column 5
> error:   /home/dima/src/octave/scripts/plot/close.m at line 77, column 1
> error:   /home/dima/src/octave/scripts/plot/close.m at line 57, column 5
> error:   /home/dima/src/octave/scripts/plot/__go_close_all__.m at line
> 27, column 3
> 
> If I add at the end of the test file "pause(0)" it finishes correctly.
> That suggests me that drawnow spawns some  asynchronous processes.
> 
>> Michael
>> 
>> 
> 
> Sincerely,
> 
> Dmitri.
> --

Very strange ... The error doesn't give any indication of your test file, 
drawnowt.m.

I can'f find any instance where __go_close_all__ is called in the sources. 

I tried you example on MacOS X, and as expected, no error.

Ben




reply via email to

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