this plot3 looks 2D on live script (pointing downwards as it should), and 3D (pointing sideways for no reason), why?

1 次查看(过去 30 天)
hold on
plot3(Mk0(:,1),Mk0(:,2),Mk0(:,3),'r*')
plot3(Mk1(:,1),Mk1(:,2),Mk1(:,3),'b*')
plot3(Mk2(:,1),Mk2(:,2),Mk2(:,3),'g*')
plot3(p_0(:,1),p_0(:,2),p_0(:,3),'k*')
plot3(p_1(:,1),p_1(:,2),p_1(:,3),'co')
grid on
hold off

回答(1 个)

Star Strider
Star Strider 2021-10-20
I cannot run that since the data are missing.
However to see it in all its 3D glory, use the view function to rotate the camera (viewing angle and orientation).
.

类别

Help CenterFile Exchange 中查找有关 Financial Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by