Why is my plot showing nothing?
Mostrar comentarios más antiguos
Why my code plot nothing inside the loop, but the similar code work outside the loop, I appreciate your help. I MUST plot solid line '-' inside the loop...
--------------- This is the code ---------------
x=1:100;
y=1:100;
z=1:100;
hold on
for i=1:length(x)
plot3(x(i),y(i),z(i),'-')
end
figure()
plot3(x(:),y(:),z(:),'-')
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Graphics Performance en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
