Ask Your Question
1

plot Polyhedron from cloud

asked 2014-10-29 11:57:17 -0500

EmersonL gravatar image

updated 2015-01-13 13:34:19 -0500

FrédéricC gravatar image

I'm trying to plot some 3d stuff from the cloud. I tried:

icosahedron()

and worked perfectly, but then I tried

v=[(0,0,0),(0,1,0),(0,2,1),(1,0,0),(1,2,3),(2,1,1)]
Polyhedron(vertices=v).plot()

and I only get a single bullet, no error message, no image, no nothing... What is going on?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
2

answered 2014-10-29 16:16:31 -0500

William Stein gravatar image

I've fixed this particular bug in SageMathCloud 3d plotting -- it was caused by the plot method on polytopes bizarrely setting the width extra_kwds option, even though that is not used in Sage 3d plotting. Refresh your browser and it should work. (There's another polytope issue though.)

https://cloud.sagemath.com/projects/4...

edit flag offensive delete link more

Comments

Indeed it works now, and is very fast, but still the results are not as good as with jmol. There I was using the thickness option to plot lines and edges and I get 3d objects that are thick cylinders, but here is not as pretty. Also I don't understand the shadows of the colors of the facets of the icosahedron. Anyway thanks a lot!

EmersonL gravatar imageEmersonL ( 2014-12-01 12:06:51 -0500 )edit
0

answered 2014-10-29 12:57:13 -0500

kcrisman gravatar image

I don't know what is going on, but I do know that it is known and only a problem in the cloud.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-10-29 11:57:17 -0500

Seen: 120 times

Last updated: Oct 29 '14