[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41283] Legend doesn't pick up linewidth
From: |
Joachim Wiesemann |
Subject: |
[Octave-bug-tracker] [bug #41283] Legend doesn't pick up linewidth |
Date: |
Mon, 20 Jan 2014 09:25:37 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 |
URL:
<http://savannah.gnu.org/bugs/?41283>
Summary: Legend doesn't pick up linewidth
Project: GNU Octave
Submitted by: jwiesemann
Submitted on: Mo 20 Jan 2014 09:25:36 GMT
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name: jwiesemann
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.4
Operating System: Microsoft Windows
_______________________________________________________
Details:
The legend of a plot picks up color and linestyle of each line, It ignores
line width.
t = (0 : 0.01 : 1)';
y1 = sin( 2*pi*t );
y2 = 0.6*sin( 2*pi*t+pi/3 );
figure();
hold();
plot( t, y1, "linewidth", 3, "color", "blue" );
plot( t, y2, "color", "black" );
legend( "y1", "y2" );
When using linewidth to differentiate lines the legend has to pick it up, too.
On high resolution displays it's difficult to distinguish eg. black and blue
line. Increasing linewidth helps, except for the current legend. See example
above.
Attached patch for current dev will fix this bug.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mo 20 Jan 2014 09:25:36 GMT Name: Legend_with_linewidth.patch Size:
4kB By: jwiesemann
<http://savannah.gnu.org/bugs/download.php?file_id=30315>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41283>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41283] Legend doesn't pick up linewidth,
Joachim Wiesemann <=