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

 채택된 답변

Image Analyst
Image Analyst 2018년 8월 28일

0 개 추천

I don't see a question, so have fun!
You'll probably be using either scatter3() or plot3() - they'll both do it.

댓글 수: 3

david edwards jr
david edwards jr 2018년 8월 31일
one point works with scatter3, but how do I do two points?
Steven Lord
Steven Lord 2018년 8월 31일
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 2018년 8월 31일
works well!! thank you
david

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by