[Top][All Lists]

[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


                 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



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 );

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

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



Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

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