octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45563] Linewidth not consistent in legend


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #45563] Linewidth not consistent in legend
Date: Thu, 16 Jul 2015 15:10:57 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0

URL:
  <http://savannah.gnu.org/bugs/?45563>

                 Summary: Linewidth not consistent in legend
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: jeu. 16 juil. 2015 15:10:56 GMT
                Category: Plotting with OpenGL
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Any

    _______________________________________________________

Details:

After creating lines and their legend using the ";legend;" syntax in plot
arguments, changing the linewidth property of lines only updates the first
legend entry linewidth. 
It works perfectly if I use the "legend" function to create the legend.


hli = zeros (1,3);
figure (123); clf; axes (); hold all
for ii = 1:3
  hli(ii) = plot (rand (1,3), sprintf (";%d;", ii));
endfor
hlg = findobj (123, "tag", "legend");
hli2 = findobj (hlg, "type", "line")
get (hli2, "linewidth")
set (hli, "linewidth", 2);
hli2 = findobj (hlg, "type", "line");
get (hli2, "linewidth")






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45563>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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