[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51465] incorrect positioning of legend
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #51465] incorrect positioning of legend |
Date: |
Fri, 14 Jul 2017 17:40:09 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #2, bug #51465 (project octave):
The part that got cut off the original message:
graphics_toolkit gnuplot
subplot(1,2,1)
plot(1:2)
hleg = legend('location', 'northeast');
legpos = get(hleg, 'position');
set(hleg, 'position', legpos+[0.4 0 0 0]); legend hide; legend show
The last instruction should put the legend outside of the plot, but in fact
it
does nothing.
If works, however, if you first set the location to 'northeastoutside' rather
than 'northeast'.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51465>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/