[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44567] Qt graphics toolkit displays twice whe
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #44567] Qt graphics toolkit displays twice when opening a new figure via plot or image. |
Date: |
Thu, 19 Mar 2015 05:40:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
Follow-up Comment #2, bug #44567 (project octave):
Much better.
The reason I thought it happened with plot as well is that I tried the example
from bug https://savannah.gnu.org/bugs/?44564
A=diag(2*ones(19,1))+diag(-1*ones(18,1),-1)+diag(-1*ones(18,1),1);
spy(A)
and noticed that the plot is shown twice. But that is because there is an
axis() command that follows the plot:
if (isnan (markersize))
plot (j, i, line_spec);
else
plot (j, i, line_spec, "markersize", markersize);
endif
axis ([0, n+1, 0, m+1], "ij");
I tried changing the spy.m code so that there is only one draw, e.g., passing
properties into plot(), placing axis() before plot(). Maybe changing a figure
property so that drawing is not done immediately. Couldn't find anything, but
it sure seems like such a technique should be possible.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44567>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/