3

What are my options for 3D plotting in Python?

It also must be redistributable.

imbr
7,8926 gold badges66 silver badges82 bronze badges
asked Sep 28, 2010 at 2:11

2 Answers 2

6

I assume you're asking for reccomendations, rather than just what modules are available...

Personally, I mostly use Mayavi/Mlab/TVTK. It's essentially a higher level interface to VTK. It's available under a BSD-style license (If I recall correctly...), so it should be freely re-distributable. If you're visualizing scientific data, it's an excellent choice.

For simpler 3D plots, matplotlib's Axes3D is quite nice. Take a look at the 3D examples (towards the bottom) on the matplotlib gallery page. However, it's not well suited to visualize volumetric data or more complex surfaces.

Naturally, those aren't the only options, but they're the two I would reccomend.

If you want to drop down to a lower level, there's always PyOpenGL, too.

At any rate, hopefully that points you in the right direction...

answered Sep 28, 2010 at 3:13
Sign up to request clarification or add additional context in comments.

Comments

3

One more variant is Python interface to MathGL. This is GPL library with large set of 2D and 3D plotting graphics types.

answered May 31, 2011 at 10:53

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.