Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

3d coordinate graphing

how do I plot 3d coordinates in mathematica? I am trying to plot 3d points using mathematica. I want to view what they look like after I am done too. so far this is what I have done... I have thousands of points to plot fyi.

input

a = {{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5} , {7, 2, 1}} 
ListPointPlot3D[a] 

output

{{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}}
ListPointPlot3D[{{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}}] 

I see no graph. thanks in advance for the help! -JOE

like image 329
user763465 Avatar asked Oct 24 '25 08:10

user763465


1 Answers

If ListPointPlot3D returns unevaluated, and you have not changed anything that would prevent it from working, perhaps you are using Mathematica 5 and copied this code from somewhere else.

In that case, try using:

a = {{2, 4, 5}, {3, 7, 9}, {6, 4, 5}, {5, 7, 5}, {7, 2, 1}};

Show[Graphics3D[Point /@ a]]
like image 187
Mr.Wizard Avatar answered Oct 27 '25 05:10

Mr.Wizard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!