Ask Your Question
1

plot Polyhedron from cloud

asked 2014-10-29 17:57:17 +0100

EmersonL gravatar image

updated 2015-01-13 20:34:19 +0100

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 22:16:31 +0100

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 19:06:51 +0100 )edit
0

answered 2014-10-29 18:57:13 +0100

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 17:57:17 +0100

Seen: 431 times

Last updated: Oct 29 '14