[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33463] legend broken for patches
From: |
David Lai |
Subject: |
[Octave-bug-tracker] [bug #33463] legend broken for patches |
Date: |
Mon, 13 Aug 2012 10:48:52 +0000 |
User-agent: |
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) |
Follow-up Comment #4, bug #33463 (project octave):
I plotted a figure with area. However no legend is rendered, no colour is
indicated. Does anyone have any ideas?
Thank you.
t= linspace(0,10,100);
y1=0.5+abs(sin(t));
y2=1.0+abs(sin(t));
figure(1);area(t,y2,'FaceColor','b')
hold on
area(t,y1,'FaceColor','c')
hold off;
ylabel('sin(t)'); xlabel('t');
legend("lower", "upper");
grid on;set(gca,'Layer','top');
title('Rectified Sine Wave');
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33463>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #33463] legend broken for patches,
David Lai <=