[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):


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

This will require that all backends are able to handle strings that are
character arrays, and cell-strings.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]