plotting a point in 3D
4 次查看(过去 30 天)
显示 更早的评论
How i can i plot the New_P in 3D
i'm using robotic toolbox peter corke
i should use trplot() function but it's not working
P = transpose([2,3,4,0]);
New_P = trotx(45) * P
0 个评论
采纳的回答
Ameer Hamza
2020-4-5
You can draw this point using plot3()
P = transpose([2,3,4,0]);
New_P = trotx(45) * P;
plot3(New_P(1), New_P(2), New_P(3), '+');
2 个评论
Ameer Hamza
2020-12-8
You can specify the marker size like this
plot3(New_P(1), New_P(2), New_P(3), '+', 'MarkerSize', 10);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!