octave-bug-tracker
[Top][All Lists]
Advanced

[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: Sat, 13 Aug 2011 21:34:25 +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 #37, bug #31468 (project octave):

The any_property class is currently used for the properties userdata,
xticklabel, yticklabel, zticklabel, string, and __plot_stream__. I agree it
desired that a new class be used for xticklabel, yticklabel, zticklabel, and
string. Calling it text_label_property sounds good to me.

I ran some tests in Matlab for reference.


>> set (gca, 'xticklabel', rand(6,1))
>> class (get (gca, 'xticklabel'))

ans = char

>> set (gca, 'xticklabel', {'a','b','c','d','e', 'f'})
>> class (get (gca, 'xticklabel'))

ans = cell

>> set (gca, 'xticklabel', ['a';'b';'c';'d';'e';'f'])
>> class (get (gca, 'xticklabel'))

ans = char

>> set (gca, 'xticklabel', {'a','b','c','d','e',6})
>> iscellstr (get (gca, 'xticklabel'))

ans =     1


John, may I assume you'll take care of the new text_label_property for us?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31468>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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