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

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

[Octave-bug-tracker] [bug #46516] Qt plotting, plot overlay ignores plot


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #46516] Qt plotting, plot overlay ignores plot order
Date: Tue, 24 Nov 2015 16:19:07 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0

URL:
  <http://savannah.gnu.org/bugs/?46516>

                 Summary: Qt plotting, plot overlay ignores plot order
                 Project: GNU Octave
            Submitted by: nrjank
            Submitted on: Tue 24 Nov 2015 04:19:06 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Jankowski
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

referring to a recent help list discussion [1], it seems that the new Qt
graphics don't respect plot order when plots overlap. if run with the three
different graphics toolkits, Qt looks different from gnuplot or fltk.  For the
latter, whichever plot is 'first' is always on top where they overlap.  For
Qt, the + plot is always on top whether it is first or second in the list.


>> close all;
>> x = 0:0.1:20;
>> y1 = sin(x); y2 = cos(x);
>> plot(x , y1, 'r+', 'markersize', 10, x, y2, 'y', 'linewidth',
4);legend('y1','y2');
>> figure;
>> plot(x, y2, 'y', 'linewidth', 4, x , y1, 'r+', 'markersize',
10);legend('y2','y1');


This seems to be a regression from previous versions before Qt was a generally
available option, and gnuplot and fltk match the Matlab behavior if visual
compatibility is necessary.



[1]
http://octave.1599824.n4.nabble.com/Help-linestyleorder-in-chart-td4673583.html






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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