[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42554] changing legend location affects posit
From: |
sergey plotnikov |
Subject: |
[Octave-bug-tracker] [bug #42554] changing legend location affects positions of subplots |
Date: |
Sun, 15 Jun 2014 00:00:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 |
URL:
<http://savannah.gnu.org/bugs/?42554>
Summary: changing legend location affects positions of
subplots
Project: GNU Octave
Submitted by: nul0m
Submitted on: Sun 15 Jun 2014 12:00:18 AM GMT
Category: Plotting
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: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Something goes wrong when I try to change legend location in the following
example:
% new figure
figure;
% subplot 1
sph1 = subplot(1,2,1);
ph = plot(sin(1:12)');
% subplot 2
sph2 = subplot(1,2,2);
ph = plot(sin(1:12)');
lh = legend('some leg');
title('some title');
get([sph1,sph2],'position')
% ta-daa
set(lh,'location','southWest');
get([sph1,sph2],'position')
As you can see from the output below, positions of both subplots are being
screwed up:
ans =
{
[1,1] =
0.13000 0.11000 0.31500 0.78524
[2,1] =
0.59000 0.11000 0.31500 0.78524
}
ans =
{
[1,1] =
33.628 18.938 -52.026 -35.226
[2,1] =
34.088 18.938 -52.026 -35.226
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42554>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #42554] changing legend location affects positions of subplots,
sergey plotnikov <=