[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'XTickLabel' - different type from Matlab's
From: |
J. Luis |
Subject: |
'XTickLabel' - different type from Matlab's |
Date: |
Sat, 26 Nov 2011 16:24:25 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
Hi,
I noticed another difference in behavior towards Matlab regarding the
'XTickLabel' axes property.
octave.exe:3> h=plot(rand(1,2))
h = -1.5394
octave.exe:4> get(get(h,'Parent'),'XTickLabel')
ans =
{
[1,1] = 1
[1,2] = 1.2
[1,3] = 1.4
[1,4] = 1.6
[1,5] = 1.8
[1,6] = 2
}
octave.exe:5> whos
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
ans 1x6 14 cell
h 1x1 8 double
When I do the same in ML I see that 'ans' is a char matrix
ans 11x3 66 char
Joaquim
- 'XTickLabel' - different type from Matlab's,
J. Luis <=