plotting a point in 3D

조회 수: 2 (최근 30일)
Hassan Bosha
Hassan Bosha 2020년 4월 5일
댓글: Ameer Hamza 2020년 12월 8일
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

채택된 답변

Ameer Hamza
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
Xinmeng Wang
Xinmeng Wang 2020년 12월 8일
How to make the '+' symbol larger?
Ameer Hamza
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 CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by