[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38209] axis label and legend positions are no
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #38209] axis label and legend positions are not updated in figure when manually changed |
Date: |
Wed, 30 Jan 2013 23:57:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0 |
URL:
<http://savannah.gnu.org/bugs/?38209>
Summary: axis label and legend positions are not updated in
figure when manually changed
Project: GNU Octave
Submitted by: None
Submitted on: Wed 30 Jan 2013 23:57:16 UTC
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: 3.6.1
Operating System: GNU/Linux
_______________________________________________________
Details:
The axis label and legend positions are not updated in figure when they are
manually changed using the method in the code below.
I'm using gnuplot 4.6 patchlevel 1, but got the same result with version
4.2.6-1. Operating system is kubutu 10.04.
The correct result is achieved with the fltk backend.
clear
graphics_toolkit ("gnuplot")
figure(1)
clf
x = 10:20;
y = x;
plot(x, y)
yh = ylabel('y')
xh = xlabel('x')
lh = legend( 'y=x' )
yhpos = get(yh, 'position')
xhpos = get(xh, 'position')
lhpos = get(lh, 'position')
set(yh, 'position', yhpos+[+2 0 0])
set(xh, 'position', xhpos+[0 2 0])
set(lh, 'position', lhpos+[-0.3 -0.3 0 0])
yhpos2 = get(yh, 'position')
xhpos2 = get(xh, 'position')
lhpos2 = get(lh, 'position')
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38209>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38209] axis label and legend positions are not updated in figure when manually changed,
anonymous <=