[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52700] plotyy legend in reverse order
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52700] plotyy legend in reverse order |
Date: |
Tue, 19 Nov 2019 11:00:30 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #9, bug #52700 (project octave):
There is still a problem with the color of the legend keys. I used the test
code from comment #1
x=0:.01:2*pi;
sine=sin(x);
cosine=cos(x);
figure
[AX,H1,H2]=plotyy([0 2*pi],[0 0], [0 2*pi],[0 0]);
hold on
plot(x,sine,'parent',AX(1),'b','linewidth',2);
plot(x,cosine,'parent',AX(1),'r','linewidth',2);
plot(x,1.1*sine,'parent',AX(2),'g:','linewidth',1); % just to use the right
axis for something
leg=legend(AX(1),'sine','cosine');
set(leg,'location','northeast');
The file bad_key_color.png shows that the keys don't match the line objects.
(file #47896)
_______________________________________________________
Additional Item Attachment:
File name: bad_key_color.png Size:39 KB
<https://savannah.gnu.org/file/bad_key_color.png?file_id=47896>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?52700>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/