Message Boards Message Boards

0
|
1326 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Plot three points in 3D space?

Posted 6 years ago

I am trying to graph the following three $(x,y,z)$ points: $(6,\ 40,\ 0.5),\ (6,\ 40,\ 0.2),\ (3,\ 20,\ 0.6)$ However, when I run the following command:

ListPlot3D[{{6, 40, 0.5}, {6, 40, 0.2}, {3, 20, 0.6}}]

An empty 3D graph is displayed. I understand it has everything to do with the first two points having the same $x$ and $y$ coordinates, however, I should be able to graph three unique points in 3D space as these points do not overlap in 3D space.

Am I missing an option here?

POSTED BY: Dannon Yogurt
2 Replies

ListPlot3D if for interpolated surfaces. You want ListPointPlot3D.

POSTED BY: Gianluca Gorni
Posted 6 years ago

Thank you @Gianluca Gorni. That fixed my problem!

POSTED BY: Dannon Yogurt
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract