[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
set(gca, 'XLabel', 'foo') not matlab compatible
From: |
Muhali |
Subject: |
set(gca, 'XLabel', 'foo') not matlab compatible |
Date: |
Mon, 30 Jan 2012 10:25:41 -0800 (PST) |
The above command
set(gca, 'XLabel', 'foo')
works in octave as expected. It does not work in matlab, though, where it
returns
>> set(gca, 'XLabel', 'foo')
??? Error using ==> set
Value must be a handle
In matlab it seems one needs the more complicated command
>> set(get(gca, 'XLabel'), 'String', 'foo')
>>
Is this a bug?
M.
--
View this message in context:
http://octave.1599824.n4.nabble.com/set-gca-XLabel-foo-not-matlab-compatible-tp4341968p4341968.html
Sent from the Octave - General mailing list archive at Nabble.com.
- set(gca, 'XLabel', 'foo') not matlab compatible,
Muhali <=