using MarkerSize in plot3

3 vues (au cours des 30 derniers jours)
Shimon Refaelov
Shimon Refaelov le 2 Juin 2020
Commenté : Shimon Refaelov le 2 Juin 2020
I have two matrices, A and B, size of each is . Each row represents a coordinate (x,y,z).
I want to display both of them on the same coordiante system using plot3.
I would like to change the MarkerSize of each set to be something different.
My attempt (which didn't work)
plot3(A(:,1), A(:,2), A(:,3), 'MarkerSize', 5, 'xr', B(:,1), B(:,2), B(:,3), 'sb', 'MarkerSize', 10);

Réponse acceptée

madhan ravi
madhan ravi le 2 Juin 2020
Modifié(e) : madhan ravi le 2 Juin 2020
  1 commentaire
Shimon Refaelov
Shimon Refaelov le 2 Juin 2020
Exactly what I needed. Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by