octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk printing


From: Michael D Godfrey
Subject: Re: fltk printing
Date: Sat, 07 Aug 2010 17:08:15 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1

On 08/07/2010 05: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.
--
This does indicate that drawnow is doing something that we do not
understand.  I looked quickly at the drawnow code, but understood very
little.  Help from someone who understands the drawnow code is needed.

Michael


reply via email to

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