octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45440] Lines are wrong during a Z+ zoom and a


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #45440] Lines are wrong during a Z+ zoom and after.
Date: Fri, 25 Sep 2015 17:19:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36

Follow-up Comment #5, bug #45440 (project octave):

This problem is still in the latest compile Sept. 25.
 here is a test script:
+verbatum+
x=rand(10,1);
y=rand(10,1);

#plot(x,y)
plot(x,y,'b',x+1,y-1,'g')

legend('one')
hold on

xx=rand(10,1);
yy=rand(10,1);

plot(xx,yy,'rx')
plot(xx,yy,'r')

hold off

-verbatum-


The problem shows up when you try zooming in with the mouse.
Select most of the screen with the zoom box, and you should see the red lines
change, even before you finish the zoom box.

I tried many combinations, and it seems that you need the legend before the
red lines are plotted, and you need to plot the red x--es before the red
lines.
ie.
legend at the end is OK.
red lines before red x is OK

also 
If you comment out the blue and green plot line and use the other plot command
(just blue lines), then the problem acts slightly different but is still
there.

I obviously can work around this problem, but it should be fixed, as it might
cause other problems.  

 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45440>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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