How to turn off the axes title of autocorrelation function?

3 ビュー (過去 30 日間)
weijie
weijie 2012 年 5 月 17 日
If I use 'autocorr', I will get a ACF graph, as the following link shows that the all the vertical axes are overlapped. i do not want any of these texts, any one please tell me how to do this?
EDIT DES embedded image

採用された回答

Daniel Shub
Daniel Shub 2012 年 5 月 17 日
I don't have the Econometrics Toolbox so I cannot test, but
delete(cell2mat(get(gca, {'YLabel', 'XLabel'})))
should get rid of the labels
  3 件のコメント
Daniel Shub
Daniel Shub 2012 年 5 月 17 日
Not quite. The labels of an axis are contained in axes which are a child of the real axis. So get(gca, 'YLabel') returns a handle to an axis. Since I am returning more than one property (i.e., YLabel and XLabel), get(gca, {'YLabel', 'XLabel'}) returns a cell array, with each element containing the corresponding property. If you did it as two commands, then you would not need the cell2mat.
weijie
weijie 2012 年 5 月 17 日
Thanks very much! Understood!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by