Ask Your Question
1

plot Polyhedron from cloud

asked 10 years ago

EmersonL gravatar image

updated 10 years ago

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?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
2

answered 10 years ago

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...

Preview: (hide)
link

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 ( 10 years ago )
0

answered 10 years ago

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.

Preview: (hide)
link

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: 10 years ago

Seen: 461 times

Last updated: Oct 29 '14