change the distance between grid lines

5 visualizzazioni (ultimi 30 giorni)
Ahmad AL-Anaqreh
Ahmad AL-Anaqreh il 3 Giu 2020
Risposto: David Hill il 3 Giu 2020
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

Risposte (1)

David Hill
David Hill il 3 Giu 2020
Look at the following function:
zticks()

Community Treasure Hunt

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

Start Hunting!

Translated by