Ask Your Question
1

Wireframe surface diagrams

asked 2013-07-18 22:27:27 +0200

Alasdair gravatar image

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-07-18 23:31:39 +0200

calc314 gravatar image

There 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.

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

Stats

Asked: 2013-07-18 22:27:27 +0200

Seen: 776 times

Last updated: Jul 18 '13