フィルターのクリア

accessible property for an instance

1 回表示 (過去 30 日間)
Elia
Elia 2013 年 12 月 19 日
コメント済み: Azzi Abdelmalek 2013 年 12 月 19 日
i want to give a name to the x-axes ,i wrote this command in the openingfcn
set(get(axes1,'XLable'), 'String','time');
but is does not work ,when i run it i become on the command window
The name 'XLable' is not an accessible property for an instance of class 'axes'.
where is the Problem ?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 12 月 19 日
編集済み: Azzi Abdelmalek 2013 年 12 月 19 日
Why not
xlabel('time')
And in your code there is a mistake, it's xlabel not xlable
set(get(gca,'xlabel'),'string','time')
  2 件のコメント
Elia
Elia 2013 年 12 月 19 日
thank you...
when i have more than one axes in the figure , howe can i refer the xlabel for each axes ?
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 12 月 19 日
Like you did it without the mistake xlable. If axe1 is your axe
set(get(axe1,'xlabel'),'string','time')

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by