octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk printing


From: Dmitri A. Sergatskov
Subject: Re: fltk printing
Date: Sat, 7 Aug 2010 19:00:06 -0500

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.
--


reply via email to

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