ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 18 Jul 2013 23:31:39 +0200Wireframe surface diagramshttps://ask.sagemath.org/question/10362/wireframe-surface-diagrams/I can plot a simple surface with
plot3d(x^2-y^2,(x-2,2),(y,-2,2))
which gives me a nice Jmol rendered surface. But what I can't find out is how to draw the same surface with wireframes (including hidden lines). Thanks!Thu, 18 Jul 2013 22:27:27 +0200https://ask.sagemath.org/question/10362/wireframe-surface-diagrams/Answer by calc314 for <p>I can plot a simple surface with</p>
<pre><code>plot3d(x^2-y^2,(x-2,2),(y,-2,2))
</code></pre>
<p>which gives me a nice Jmol rendered surface. But what I can't find out is how to draw the same surface with wireframes (including hidden lines). Thanks!</p>
https://ask.sagemath.org/question/10362/wireframe-surface-diagrams/?answer=15253#post-id-15253There is a bug in passing the `mesh` option. So you need to do:
var('x y')
plot3d(x^2-y^3,(x,-2,2),(y,-2,2)).show(mesh=true)
Also, in more recent versions of Sage & Jmol, you can a button that gives you access to Jmol options. This then allows you to adjust the color of the mesh.Thu, 18 Jul 2013 23:31:39 +0200https://ask.sagemath.org/question/10362/wireframe-surface-diagrams/?answer=15253#post-id-15253