[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with Matlab compatibility
From: |
Michael D Godfrey |
Subject: |
Re: Help with Matlab compatibility |
Date: |
Thu, 13 Oct 2016 23:46:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 10/13/2016 11:40 PM, Rik wrote:
close all
figure
hi = image (0:64);
get (hi, 'foobar') % This should fail
get (hi, 'xdatamode')
get (hi, 'ydatamode')
clf
ht = text (2,2, 'Hello World');
get (ht, 'positionmode')
get (ht, 'rotationmode')
get (ht, 'horizontalalignmentmode')
get (ht, 'verticalalignmentmode')
< M A T L A B (R) >
Copyright 1984-2016 The MathWorks, Inc.
R2016a (9.0.0.341360) 64-bit (glnxa64)
February 11, 2016
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
Academic License
>> close all
>> figure
>> hi = image (0:64);
Warning: MATLAB has disabled some advanced graphics rendering features
by switching to software OpenGL. For more
information, click <a href="matlab:opengl('problems')">here</a>.
>> get (hi, 'foobar') % This should fail
Error using matlab.graphics.primitive.Image/get
There is no foobar property on the Image class.
>> get (hi, 'xdatamode')
ans =
auto
>> get (hi, 'ydatamode')
ans =
auto
>> clf
>> ht = text (2,2, 'Hello World');
>> get (ht, 'positionmode')
ans =
manual
>> get (ht, 'rotationmode')
ans =
auto
>> get (ht, 'horizontalalignmentmode')
ans =
auto
>> get (ht, 'verticalalignmentmode')
ans =
auto
>>
>> version
ans =
9.0.0.341360 (R2016a)
>>