Ask Your Question

polygon3d() doesn't work

asked 2016-07-08 00:09:09 +0100

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-08 00:18:01 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-08 00:17:35 +0100

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-08 00:09:09 +0100

Seen: 320 times

Last updated: Jul 08 '16