ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 07 Jul 2016 17:18:01 -0500polygon3d() doesn't workhttp://ask.sagemath.org/question/34054/polygon3d-doesnt-work/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!
Thu, 07 Jul 2016 17:09:09 -0500http://ask.sagemath.org/question/34054/polygon3d-doesnt-work/Comment by kcrisman for <p>The polygon class plot well in 2d, but if I type in the command as the example on tutorial:</p>
<p>EXAMPLES:
A simple triangle:
sage: polygon3d([[0,0,0], [1,2,3], [3,0,0]])
Graphics3d Object</p>
<p>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!</p>
http://ask.sagemath.org/question/34054/polygon3d-doesnt-work/?comment=34056#post-id-34056You could potentially use `line` or `line3d`, just as a possible workaround.Thu, 07 Jul 2016 17:18:01 -0500http://ask.sagemath.org/question/34054/polygon3d-doesnt-work/?comment=34056#post-id-34056Answer by kcrisman for <p>The polygon class plot well in 2d, but if I type in the command as the example on tutorial:</p>
<p>EXAMPLES:
A simple triangle:
sage: polygon3d([[0,0,0], [1,2,3], [3,0,0]])
Graphics3d Object</p>
<p>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!</p>
http://ask.sagemath.org/question/34054/polygon3d-doesnt-work/?answer=34055#post-id-34055I can confirm this on the Sage cell server. This is now [Trac 20978](https://trac.sagemath.org/ticket/20978).Thu, 07 Jul 2016 17:17:35 -0500http://ask.sagemath.org/question/34054/polygon3d-doesnt-work/?answer=34055#post-id-34055