Azzera filtri
Azzera filtri

plotting a point in 3D

3 visualizzazioni (ultimi 30 giorni)
Hassan Bosha
Hassan Bosha il 5 Apr 2020
Commentato: Ameer Hamza il 8 Dic 2020
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

Risposta accettata

Ameer Hamza
Ameer Hamza il 5 Apr 2020
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 Commenti
Xinmeng Wang
Xinmeng Wang il 8 Dic 2020
How to make the '+' symbol larger?
Ameer Hamza
Ameer Hamza il 8 Dic 2020
You can specify the marker size like this
plot3(New_P(1), New_P(2), New_P(3), '+', 'MarkerSize', 10);

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by