[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50094] 2 more legend bugs
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #50094] 2 more legend bugs |
Date: |
Mon, 18 Nov 2019 16:02:36 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 |
Follow-up Comment #8, bug #50094 (project octave):
I just tested the patch on a larger screen, and it does have the expected
effect of preventing the legend from compressing the axes too much (which ends
up in a corrupted legend possition and making it disappear), so I pushed the
patch from comment #6.
But now this is fixed for me, it uncovers another very ugly issue with the
legend item layout management:
set(0, "defaultaxesfontsize", 12) ;
set(0, "defaultfigureunits", "normalized") ;
set(0, "defaultfigureposition", [0.682 0.702 0.25 0.25]) ;
n = 30 ;
plot(randn(4,n), "k") ;
legend(datestr(now + (1:n)), "location", "northoutside") ;
## Legend item are arranged in 2 columns
legend boxoff
## Legend item are arranged in 30 columns
legend boxon
## Legend item are arranged in 3 columns
If I prescribe the number of columns using the "numcolumns" property then
everything look stable.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50094>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/