Ask Your Question
0

polygon3d() doesn't work

asked 8 years ago

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!

Preview: (hide)

Comments

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

kcrisman gravatar imagekcrisman ( 8 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 8 years ago

kcrisman gravatar image

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

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

1 follower

Stats

Asked: 8 years ago

Seen: 371 times

Last updated: Jul 08 '16