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

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

[Octave-bug-tracker] [bug #59660] Gnuplot produces multiple legends


From: анонимный
Subject: [Octave-bug-tracker] [bug #59660] Gnuplot produces multiple legends
Date: Fri, 11 Dec 2020 10:53:22 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

URL:
  <https://savannah.gnu.org/bugs/?59660>

                 Summary: Gnuplot produces multiple legends
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Пт 11 дек 2020 15:53:20
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Matsievskiy S.V.
        Originator Email: seregaxvm.main@gmail.com
             Open/Closed: Open
                 Release: 6.1.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Gnuplot produces multiple legends, when using line handles for legend
setting.
MWE:

[~, l1, l2] = plotyy([1 2 3], [1 2 3], [1 2 3], [2 2 2]);
hold on;
l3 = plot([1 2 3], [3 2 1]);
leg(1).leg = {"l1", "l2"};
leg(2).leg = {"l3"};
[l1;l2;l3]
[leg.leg]
legend([l1;l2;l3],[leg.leg]);
legend location northwest;

This code produces single legend box with legends for three lines in QT. Same
code with Gnuplot backend produces two legend boxes with three legends. One of
the legends has other legends label displayed over it.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59660>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/




reply via email to

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