[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39697] legend doesn't change position if titl
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows |
Date: |
Wed, 14 Aug 2013 20:11:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 |
Follow-up Comment #2, bug #39697 (project octave):
The axes position not moving is an issue by itself. It seems like we are
missing a drawnow() or mark_modified() call after adding the multi-line title.
You could file another bug report for that.
But, it doesn't affect this issue which is that there is no listener on the
axes position. If I use the mouse on a corner of the plot window to slightly
resize it then the axes is re-drawn with the correct size, but nothing fires
to also adjust the legend box position.
Incidentally, "fontunits" only determines how "fontsize" will be interpreted.
To find the extents for the title you need to operate with the "units"
property on the title text object.
plot (1:10, ';data;');
ht = title ({'1';'2';'3';'4'});
set (ht, 'units', 'pixels');
get (ht, 'extent')
ans =
217.32500 357.37500 6.00000 49.00000
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39697>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Rik, 2013/08/05
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Ben Abbott, 2013/08/14
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows,
Rik <=
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Ben Abbott, 2013/08/14
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Rik, 2013/08/14
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Ben Abbott, 2013/08/14
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Ben Abbott, 2013/08/14
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Ben Abbott, 2013/08/15
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Rik, 2013/08/15
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Ben Abbott, 2013/08/15
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Rik, 2013/08/15
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Ben Abbott, 2013/08/15
- [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows, Rik, 2013/08/16