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

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 5 de Abr. de 2020

0 votos

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 comentarios

Xinmeng Wang
Xinmeng Wang el 8 de Dic. de 2020
How to make the '+' symbol larger?
Ameer Hamza
Ameer Hamza el 8 de Dic. de 2020
You can specify the marker size like this
plot3(New_P(1), New_P(2), New_P(3), '+', 'MarkerSize', 10);

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Abr. de 2020

Comentada:

el 8 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by