3D scatter plots

1 vue (au cours des 30 derniers jours)
david edwards jr
david edwards jr le 28 Août 2018
Commenté : david edwards jr le 31 Août 2018
hi I have a small set of 3D points, say for example 2 pts. (1,2,3) ,(4,5,6) I would like to plot these in a 3D graph.
thank you
david

Réponse acceptée

Image Analyst
Image Analyst le 28 Août 2018
I don't see a question, so have fun!
You'll probably be using either scatter3() or plot3() - they'll both do it.
  3 commentaires
Steven Lord
Steven Lord le 31 Août 2018
Pass vectors into scatter3 as the coordinate inputs rather than passing scalars. Run the example "Create 3-D Scatter Plot" on the scatter3 documentation page and look at the size of x, y, and z. There are as many markers in that scatter3 plot as there are elements in x, y, and z.
david edwards jr
david edwards jr le 31 Août 2018
works well!! thank you
david

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Scatter 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