Ask Your Question

polygon3d() doesn't work

asked 2016-07-07 17:09:09 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

The polygon class plot well in 2d, but if I type in the command as the example on tutorial:

EXAMPLES: A simple triangle: sage: polygon3d([[0,0,0], [1,2,3], [3,0,0]]) Graphics3d Object

I think it should shows a triangle, but my linux jmol grapher doesn't plot anything. However, the axes still changes as I change the coordinates. I really want to plot a triangle in 3d, can anyone help? Great thanks!

edit retag flag offensive close merge delete


You could potentially use line or line3d, just as a possible workaround.

kcrisman gravatar imagekcrisman ( 2016-07-07 17:18:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-07 17:17:35 -0500

kcrisman gravatar image

I can confirm this on the Sage cell server. This is now Trac 20978.

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

1 follower


Asked: 2016-07-07 17:09:09 -0500

Seen: 57 times

Last updated: Jul 07 '16