change the distance between grid lines

Hi
I have a script to plot lines in 3D , now the script is working and it's plotting what I want but because the points on the lines are very close to each other the lines are very close to each other, there is anyway to increase the space between grid lines on z axes, here is my script :
A=[10 10 10];
B=[5 15 30];
C=[162148 94541 72044];
A2=[10 10 10];
B2=[5 15 30];
C2=[159608 92905 71011];
plot3(A,B,C,'-k')
hold on;
plot3(A2,B2,C2,'-k')
grid on;
and the figure I'm getting is the following

답변 (1개)

David Hill
David Hill 2020년 6월 3일

1 개 추천

Look at the following function:
zticks()

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

태그

질문:

2020년 6월 3일

답변:

2020년 6월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by