MATLAB Answers

How to position the default interactivity bar?

1 view (last 30 days)
Leon
Leon on 18 Feb 2020
Edited: Ajay Pattassery on 24 Feb 2020
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.

  0 Comments

Sign in to comment.

Answers (1)

Ajay Pattassery
Ajay Pattassery on 21 Feb 2020
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 Comments

Leon
Leon on 21 Feb 2020
Many thanks! Unfortunately, I do need the bar to be available to my users.
Ajay Pattassery
Ajay Pattassery on 24 Feb 2020
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.

Sign in to comment.

Products


Release

R2019b

Translated by