changeset 26189:05e8cc761c14

legend.m: Increase spacing between multiple labels (bug #55189). * legend.m: Change ypad distance from 2 points to 4 points.
author Rik <rik@octave.org>
date Sun, 09 Dec 2018 22:53:54 -0800
parents 6652de1fe896
children c2137ac45dd9
files scripts/plot/appearance/legend.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/legend.m	Sun Dec 09 17:03:33 2018 -0800
+++ b/scripts/plot/appearance/legend.m	Sun Dec 09 22:53:54 2018 -0800
@@ -571,7 +571,7 @@
 
       ## Padding between legend entries horizontally and vertically
       xpad = 2;
-      ypad = 2;
+      ypad = 4;
 
       linelength = 15;
 
@@ -673,7 +673,7 @@
           maxwidth = max (maxwidth, extents(3));
           maxheight = max (maxheight, extents(4));
         endfor
-        ## Restore units which were force to points
+        ## Restore units which were forced to points
         set (texthandle, "units", get (0, "DefaultTextUnits"));
 
         num1 = nentries;