octave-maintainers
[Top][All Lists]
Advanced

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

Re: changeset 9395 (3.2.x branch) should be applied not only x11 term bu


From: Ben Abbott
Subject: Re: changeset 9395 (3.2.x branch) should be applied not only x11 term but on windows, wxt, ( and aqua) term
Date: Wed, 09 Sep 2009 07:47:03 -0400


On Sep 9, 2009, at 3:18 AM, Tatsuro MATSUOKA wrote:

Hello

--- Benjamin Lindner wrote:

Hmm, I tend to disagree.
With this patch we try fixing a hole in the cauldron by drilling
additional holes.

I think it would be cleaner if the initial patch which supposedly fixes
some behaviour for x11 (and only x11?) is repaired so that it only
modifies behaviour for x11 and leaves the rest at status-quo.

Is the undesired behaviour of the x11 reminal really caused by octave's
gnuplot backend? Or is it a gnuplot bug? If so, I think it would be
better to fix it in gnuplot.

fplot ("cos", [0, 2*pi])
drawnow("windows", "foo.txt", 9, "debug.txt")

and see the debug.txt
Expiations attachment file are
debug_305.txt -- case octave 3.0.5/mingw
debug_322.txt -- case octave 3.2.2/mingw
debug_323_modifiedBenPatch.txt -- case octave 3.2.3/mingw with modified Ben's patch to windows
terminal

I add 'pause 2' to see  like
cat debug_305.txt | gnuplot

For the case of debug_322.txt, screnn cleared and plot was carried out.
The above is cause of flicking.

This was caused by 'set multiplot;' at line 7 in debug_322.txt.

This bug caused by octave but not by gnuplot!!

Regards

Tatsuro

I had come to the same conclusion. The flickering is caused by set/ unset multiplot.

It *may* be possible that this can be fixed in gnuplot and I'm willing to file a bug report with the gnuplot developers, but thus far I've not be able to produce a simple script to demonstrate the behavior.

However, I favor applying Tatsuro's patch as it will have no negative impact and will eliminate the flickering for current releases of gnuplot. When/if the problem is fixed in a future version of gnuplot, the function __gnuplot_has_feature__ may be modified and used to produce the desired results for different versions of gnuplot.

Ben



reply via email to

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