Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

3D scatterplots in sage

Tags:

python

plot

sage

Is it possible to create 3D scatterplots in sage?

By scatterplot I mean graph like this: alt text

like image 369
Boris Gorelik Avatar asked Dec 14 '10 13:12

Boris Gorelik


1 Answers

Absolutely. If you've got a list of tuples that represent your points, something like:

point_list=[(0.,1.,2.), (2.,2.,3.)]
point3d(point_list)

that will plot the two points given in point_list, you can add axis labels with standard sage plotting options.

like image 163
Oscar Lazo Avatar answered Sep 29 '22 20:09

Oscar Lazo