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: Vanya Sergeev
Subject: [Octave-bug-tracker] [bug #31468] multi-line text objects
Date: Sat, 13 Aug 2011 02:48:06 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1

Follow-up Comment #33, bug #31468 (project octave):

Sorry, I should have been more specific. The 'string' property itself can be
set a numeric scalar, numeric cell-array, mixed cell-array, etc in ML. It
seems the elements get converted internally into strings, but remain in the
same form (scalar / cell / matrix).


>> set(get(gca(), 'title'), 'string', {1,2,3})
>> get(get(gca(), 'title'), 'string')         

ans = 

    '1'
    '2'
    '3'

>> iscell(get(get(gca(), 'title'), 'string'))

ans =

     1

>> set(get(gca(), 'title'), 'string', 1)     
>> get(get(gca(), 'title'), 'string')        

ans =

1

>> iscell(get(get(gca(), 'title'), 'string'))

ans =

     0

>> 


Thanks,
~vsergeev

    _______________________________________________________

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]