[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31468] multi-line text objects
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #31468] multi-line text objects |
Date: |
Thu, 11 Aug 2011 19:56:15 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1 |
Follow-up Comment #13, bug #31468 (project octave):
Phi/others,
Matlab provides two ways to implement text objects. The documented approach is
...
h = text (0.5, 0.5, {'first line', 'second line'});
In addition, this (undocumented approach) also works
h = text (0.5, 0.5, ['first line', char(10), 'second line']);
I'd like to see both of these approaches work in Octave.
Since title(), xlabel(), and ylabel() each produce text objects, patching the
sources to allow text objects to be multiline should resolve all these
problems.
This will require that all backends are able to handle strings that are
character arrays, and cell-strings.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31468>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/11
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/11
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Philip Nienhuis, 2011/08/11
- [Octave-bug-tracker] [bug #31468] multi-line text objects,
Ben Abbott <=
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/11
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/11
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/11
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/11
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Jordi GutiƩrrez Hermoso, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, anonymous, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Jordi GutiƩrrez Hermoso, 2011/08/12