How to Move Position of Z Axis Ticks on Plot3 Graph?

조회 수: 3 (최근 30일)
Harry Taylor
Harry Taylor 2019년 2월 21일
답변: Naman Bhaia 2019년 2월 28일
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
Thanks!
Harry

답변 (1개)

Naman Bhaia
Naman Bhaia 2019년 2월 28일
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'
For reference, a complete list of axes properties is available here.
You can also try to change the Text Properties of the label.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by