[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51465] incorrect positioning of legend
From: |
Francesco Potortì |
Subject: |
[Octave-bug-tracker] [bug #51465] incorrect positioning of legend |
Date: |
Fri, 14 Jul 2017 08:51:55 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
URL:
<http://savannah.gnu.org/bugs/?51465>
Summary: incorrect positioning of legend
Project: GNU Octave
Submitted by: pot
Submitted on: Fri 14 Jul 2017 02:51:54 PM CEST
Category: Plotting with gnuplot
Severity: 3 - Normal
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.3
Operating System: GNU/Linux
_______________________________________________________
Details:
This works in fltk, but not in gnuplot:
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
+verbatim-
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/
- [Octave-bug-tracker] [bug #51465] incorrect positioning of legend,
Francesco Potortì <=