bugGNU Octave - Bugs: bug #59660, Gnuplot produces multiple legends

 
 

bug #59660: Gnuplot produces multiple legends

Submitter:  None
Submitted:  Fri 11 Dec 2020 03:53:20 PM UTC
   
 
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:  -email is unavailable-
Open/Closed:  * Open Release:  * 6.1.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Dec 2020 03:53:20 PM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code