How to position the default interactivity bar?

1 回表示 (過去 30 日間)
Leon
Leon 2020 年 2 月 18 日
編集済み: Ajay Pattassery 2020 年 2 月 24 日
I'm referring to the toolbar with things like Zoom in, Zoom out, Home, etc. Right now, its default position is to cover my xticklabel. Is there a way I can specify its position?
Thanks.

回答 (1 件)

Ajay Pattassery
Ajay Pattassery 2020 年 2 月 21 日
I am not sure of moving the figure toolbar, but you could remove it from the figure using the following command
ax = gca;
ax.Toolbar.Visible = 'off'; % Turns off the axes toolbar
Refer the following answer for more information.
  2 件のコメント
Leon
Leon 2020 年 2 月 21 日
Many thanks! Unfortunately, I do need the bar to be available to my users.
Ajay Pattassery
Ajay Pattassery 2020 年 2 月 24 日
編集済み: Ajay Pattassery 2020 年 2 月 24 日
I assume you have reason to keep the xticklabels on the top of the graph.
You can try rotating the ticklabels using xtickangle.
For moving the ticklabels you can refer to the following answer too.

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

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by