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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36156] text (x, y, "Default") -> text object


From: Rik
Subject: [Octave-bug-tracker] [bug #36156] text (x, y, "Default") -> text object with empty string
Date: Fri, 15 Mar 2013 02:28:11 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

Follow-up Comment #4, bug #36156 (project octave):

Actually, I want to figure out a bit more about how Matlab is doing things.

Is Matlab case insensitive about 'default' and 'factory'?  I kind of doubt
it.


close all;
hax = gca;
pos = get (hax, 'position')
pos(1) = pos(1) + 0.4;
set (hax, 'position', pos)
get (hax, 'position')

set (hax, 'position', 'FaCTorY')
get (hax, 'position')

set (hax, 'position', pos)
set (hax, 'position', 'Factory')
get (hax, 'position')

set (hax, 'position', pos)
set (hax, 'position', 'factory')
get (hax, 'position')


Second, I'm wondering if Matlab strips off the cell array around single
strings.


close all;
ht = text (0.5,0.5, {'Hello', 'World'});
iscell (get (ht, 'string'))
clf;
ht = text (0.5,0.5, {'Hello'});
iscell (get (ht, 'string'))




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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