473,473 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

3D plotting with python 2.5 on win32

Hi,

I would like to know if some of you knows a

- working

- actual

- out of the box (for me: binaries available)

Package/Lib to do 3D plotting out of the box.

I know matplotlib.

There is MayaVi from enthon but you need to use their python (2.4.3),
all other stuff need picking sources etc.

IVuPy-0.1 seems to be abandonware, and there are no binaries.

I don't get qwtplot3d-0.2.7 to compile on my pc, it seems you need the
commercial
qt 4.33 (with opensource qt 4.3.3 I doesnt work).
Actually there is a big list on python org of 3D software, but I need
only plotting facility (like Matlab for example), and some/most of
the listed projects seem not be up to date (still based on python 2.4,
like PyOpenGL where you get binaries only for python 2.4,
seems to be abandonware too, sigh).

Thanks for a hint :-)
Dec 19 '07 #1
10 2740
On 19 Gru, 15:15, anton <anto...@gmx.dewrote:
Hi,

I would like to know if some of you knows a

- working

- actual

- out of the box (for me: binaries available)

Package/Lib to do 3D plotting out of the box.

I know matplotlib.

There is MayaVi from enthon but you need to use their python (2.4.3),
all other stuff need picking sources etc.

IVuPy-0.1 seems to be abandonware, and there are no binaries.

I don't get qwtplot3d-0.2.7 to compile on my pc, it seems you need the
commercial
qt 4.33 (with opensource qt 4.3.3 I doesnt work).

Actually there is a big list on python org of 3D software, but I need
only plotting facility (like Matlab for example), and some/most of
the listed projects seem not be up to date (still based on python 2.4,
like PyOpenGL where you get binaries only for python 2.4,
seems to be abandonware too, sigh).

Thanks for a hint :-)
Hi anton,

Have you take a look at vpython? Here's their website:
http://www.vpython.org/
And here is an simple example of how to use it:
http://linuxgazette.net/144/john.html

Hope this helps :-)

Cheers,

Marek
Dec 19 '07 #2
On Dec 19, 7:15 am, anton <anto...@gmx.dewrote:
Hi,

I would like to know if some of you knows a

- working

- actual

- out of the box (for me: binaries available)

Package/Lib to do 3D plotting out of the box.

I know matplotlib.

There is MayaVi from enthon but you need to use their python (2.4.3),
all other stuff need picking sources etc.

IVuPy-0.1 seems to be abandonware, and there are no binaries.

I don't get qwtplot3d-0.2.7 to compile on my pc, it seems you need the
commercial
qt 4.33 (with opensource qt 4.3.3 I doesnt work).

Actually there is a big list on python org of 3D software, but I need
only plotting facility (like Matlab for example), and some/most of
the listed projects seem not be up to date (still based on python 2.4,
like PyOpenGL where you get binaries only for python 2.4,
seems to be abandonware too, sigh).

Thanks for a hint :-)
PyOpenGL isn't abandonware. Python 2.5 comes with the ctypes module
[1], so there isn't any need for a binary wrapper module anymore.

Under 2.5, all pure "wrapper" binary modules are unnecessary. They
can work cross-platform from pure Python, calling directly into the C
function code. Trust me, this is an excellent improvement.

PyOpenGL probably too low-level for what you want, but it isn't dead
yet. (It's just pining for the symbol table.)

--Jason

[1] http://docs.python.org/lib/module-ctypes.html
Dec 19 '07 #3
Hi Marek,

thanks for the link .. I knew VPython
already by I forgot it ( the last time it was only
python 2.4 compatible) but as I see
they support python 2.5 now ;-)

I will check it and thanks again.

Anton
Hi anton,

Have you take a look at vpython? Here's their website:http://www.vpython.org/
And here is an simple example of how to use it:http://linuxgazette.net/144/john.html

Hope this helps :-)

Cheers,

Marek
Dec 20 '07 #4
Hi Jason,

I know ctypes, my problem is not PyOpenGL itself,
but during my tests with different python based 3D tools,
some of them depend on PyOpenGL and since PyOPenGL
is only available for python 2.4 .... the story ends here.

Sorry I don't actually remember exactly what tool it was,
I tried out (or tried to try out) different tools for
doing 3D plotting, but skipped most of them since I did
not get them to work.
(... yes I am a little bit confused since I didnt find
something working out of the box).

Anton

>
PyOpenGL isn't abandonware. Python 2.5 comes with the ctypes module
[1], so there isn't any need for a binary wrapper module anymore.

Under 2.5, all pure "wrapper" binary modules are unnecessary. They
can work cross-platform from pure Python, calling directly into the C
function code. Trust me, this is an excellent improvement.

PyOpenGL probably too low-level for what you want, but it isn't dead
yet. (It's just pining for the symbol table.)

--Jason

[1]http://docs.python.org/lib/module-ctypes.html
Dec 20 '07 #5
On Dec 20, 8:48 am, anton <anto...@gmx.dewrote:
Hi Jason,

I know ctypes, my problem is not PyOpenGL itself,
but during my tests with different python based 3D tools,
some of them depend on PyOpenGL and since PyOPenGL
is only available for python 2.4 .... the story ends here.

Sorry I don't actually remember exactly what tool it was,
I tried out (or tried to try out) different tools for
doing 3D plotting, but skipped most of them since I did
not get them to work.
(... yes I am a little bit confused since I didnt find
something working out of the box).

Anton
PyOpenGL isn't abandonware. Python 2.5 comes with the ctypes module
[1], so there isn't any need for a binary wrapper module anymore.
Under 2.5, all pure "wrapper" binary modules are unnecessary. They
can work cross-platform from pure Python, calling directly into the C
function code. Trust me, this is an excellent improvement.
PyOpenGL probably too low-level for what you want, but it isn't dead
yet. (It's just pining for the symbol table.)
--Jason
[1]http://docs.python.org/lib/module-ctypes.html
That's just it: PyOpenGL is available for Python 2.5. Go to "http://
pyopengl.sourceforge.net/ctypes/using.html" for information about
getting and installing it.

Obviously, I don't know what problems are with the tools you tried.
There may be backward-compatibility problems that I haven't
encountered with PyOpenGL on Python 2.5.

I do hope this helps you, even if only a little bit.

--Jason
Dec 20 '07 #6
Hi Peter,
have setuptools installed. Then, you should run:

easy_install -fhttp://code.enthought.com/enstaller/eggs/windows/xp
VTK enthought.mayavi[nonets]

It's important to include "[nonets]" so that you will get scipy and
numpy as well.
I have already scipy 0.6.0 and numpy 1.0.4 installed, so
I assume I can ignore [nosets]

I will try to do tell setuptools to download all the stuff
instead of installing it at once, so I can install it on other pc's
even without internet connection.
(I have to look, I always forget the easy_install parameters)
>
Here are some links for getting started with MayaVI:
Mayavi Cookbook:http://scipy.org/Cookbook/MayaVi
MLab:http://www.scipy.org/Cookbook/MayaVi/mlab
Thanks. I know scipy.org already, its grea :-)
From your posts it sounds like you really want to use something like
MLab.
Yes, exact for the first step.

Then I will look if I can integrate a "3D Plot window"
in a wxPython application.
I want to write an application to analyse log files from nc machines,
and display the trajectories of the machine.
On a side note, we are almost done putting together an updated one-
click installer of python + packages for scientific computing. This
will be based on Python 2.5, will include most of what was included in
the 2.4.3-based installer, and will be available for multiple
platforms.
Looks nice, its also nice that its possible to
use parts of the enthon suite without using the full enthon installer.

While it may be nice for some peoples, I personally prefer
to install the standard python from python.org and add packages
independently.
(I tried the 2.4.3 enthon installer some time ago, but since
I had already a python 2.4.3 installation with moinmoin and trac for
example,
I didn't like this too much, ... don't remember exactly what I
didn't like exactly, by I deinstalled the whole enthon stuff rather
fast.

Again: the enthon installer is nice if somebody uses only this
suite :-)
Its a great work, congratulations !!)
Thanks, Peter

Anton
Dec 21 '07 #7
Hi Peter,

I tried it, but I have problems downloading with easy_setup.

If I download files with firefox and a downloadmanager it works
(I also ha transferrates of 3kB/s which is quite slow)
easy_install -fhttp://code.enthought.com/enstaller/eggs/windows/xp
VTK enthought.mayavi[nonets]
My question (I didn't figure it out myself for now):

Is it possible to tell easy_install to create a list
of all files to download like

http://code.enthought.com/enstaller/....2a1-py2.5.egg
http://code.enthought.com/enstaller/...y2.5-win32.egg
...
...
...

so that I could pass this list to a downloadmanager and then install
the stuff like:
easy_install -f . enthought.mayavi VTK

Any idea ... I tried the -n parameter,
but since after every download easy_install had an error
telling me that the egg is not a zipfile ...
(perhaps it didn't get the complete file)
it deleted it afterwards anyway.

Bye

Anton
Dec 21 '07 #8
On 19 Des, 15:15, anton <anto...@gmx.dewrote:
Package/Lib to do 3D plotting out of the box.

I know matplotlib.
If you are going to do 3D plotting of data, the tool to use is VTK. It
is the de facto standard for 3D scientific/technical visualization,
regardless of programming language. VTK has Python bindings, but you
need to build the library from source. VTK is embeddable in wxPython.

http://www.vtk.org/

The prebuilt VTK binaries are build with tcl support. If you are happy
using tcl as middleman, i.e. similar to what tkinter does for gui, you
don't need to build the Python bindings.
Dec 22 '07 #9
On 22 Des, 03:19, sturlamolden <sturlamol...@yahoo.nowrote:
If you are going to do 3D plotting of data, the tool to use is VTK. It
is the de facto standard for 3D scientific/technical visualization,
regardless of programming language. VTK has Python bindings, but you
need to build the library from source.
And finally, consider building build tvtk from Enthought to get proper
NumPy support. As with VTK, there is no prebuilt installer.


Dec 22 '07 #10
On Dec 20, 1:24*pm, Peter Wang <misterw...@gmail.comwrote:
On a side note, we are almost done putting together an updated one-
click installer of python + packages for scientific computing. *This
will be based on Python 2.5, will include most of what was included in
the 2.4.3-based installer, and will be available for multiple
platforms.

-Peter
We who?

(a little of a side note)

I just bought Chun's book and have been monitor c.l.p. I also browsed
through the Enthought site. While I found Enthought very interesting,
I found it kind of disappointing that they seem to support Windows,
only, unless I am not seeing the big picture.

In anycase, I would really like very much to see what you are talking
about, a multi-platform one-clik-installer of python+scientific-
computing...who is "we" and where do you think it will be?

gsal

Dec 22 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: srijit | last post by:
Hi, I am looking for a good plotting package (preferably with 3D plotting capabilities) based on Python 2.3 (Windows 98). Unfortunately Dislin does not exist for Python 2.3. I look forward to...
3
by: Erik Lechak | last post by:
Hello All, I am creating a visual programming environment for python (similar to Matlab's simulink, but for python). For several reasons I have decided not to go with OGL. I am writing a wxOGL...
6
by: DG | last post by:
I'm interesting in finding the ultimate cross-platform python plotting module. So far I've used scipy.gplt and biggles which both have disadvantages. There is no python 2.3 binary package for...
7
by: Rolf Wester | last post by:
Hi, I have a Python console application that is intended to be used interactively and I have to add plotting capabilities (multiple XY plots and if possible 2D-surface plots). I'm loocking for a...
5
by: michael.s.gilbert | last post by:
hello all, this message is geared toward those of you in the scientific community. i'm looking for a python plotting library that can support rendering greek symbols and other various characters...
7
by: diffuser78 | last post by:
My python program spits lot of data. I take that data and plot graphs using OfficeOrg spredsheet. I want to automate this task as this takes so much of time. I have some questions. 1. Which is...
2
by: Dr. Colombes | last post by:
Is there an easy scientific graphics (plotting) package for Python 2.5.1 running on Ubuntu Linux 7.1 ("Gutsy Gibbon")? A few years ago I used PyLab (a MatLab-like plotting module for Python) on...
2
by: Anish Chapagain | last post by:
hi, I'm getting problem with the code below which after displaying graph plotted in external window, doesnot closes itself, even after closing the window of plotting the main python window shows...
4
by: Helmut Michels | last post by:
Dear Python users, I am pleased to announce version 9.4 of the data plotting software DISLIN. DISLIN is a high-level and easy to use plotting library for displaying data as curves, bar...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.