How to Move Position of Z Axis Ticks on Plot3 Graph?
6 views (last 30 days)
Show older comments
Hi, I have managed to create a Plot3 as shown below, however I was hoping I could move the positions of the Tick Labels (highlighted in red) so that they are all on the outside of the graph (Like the m/z axis on my graph currently is). Does anyone know how to do this?
![MatLab Help.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/205213/image.png)
Thanks!
Harry
0 Comments
Answers (1)
Naman Bhaia
on 28 Feb 2019
Tick direction can be changed using the TickDir property. The following will make the ticks point away from the graph:
set(gca,'TickDir','out'); % The other option is 'in'
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!