wxPyPlot V1.1 beta 2

Hi All,

I have released Version 1.1 beta 2 of wxPyPlot for producing simple plots
in wxPython.

This release fixes two bugs:
1. Printing under Lunix was failing because the dc.Clear method was
not implemented for postscript DCs.
2. wxPyPlot can be a child of any window now. This was causing
problems with print preview when the parent was not a wxFrame.

Thanks to Chris Barker and Jens B. Helmers for their feedback.

Users will require wxPython 2.4.0.6 or later and Numeric.

For your viewing pleasure, the website now has some html docs as well as a
few more screen shots of things. Check out:
http://www.cyberus.ca/~g_will/wxPython/wxpyplot.html

Comments and suggestions welcome.

Regards,

Gordon Williams

···

-------------------------------------------------------------
What is wxPyPlot??

wxPyPlot is an enhanced derivative version of wxPlotCanvas to provide simple
lightweight plotting in wxPython. The emphasis is both on simple and
lightweight.

Before starting this work I looked at two plotting packages that could be
adapted to work with wxPython. SciPy Plt and Chaco are sophisticated and
powerful, but at the expense of consuming huge amounts of computer resources
for simple plots. They can be found at http://scipy.com. I was looking for
something that could be incorporated into a Boa application and had the
ability to plot lines with large numbers of points quickly for data capture
applications. wxPlotCanvas had the speed and some of the functionality that
I was looking for, but lacked a lot of features that I needed. This effort
has filled the gap.

Features:
- Automatic Scaling of Axes
- Legends for lines and markers
- Plot Title and Axis Labels
- Zoom Region with Mouse (Rubber Band) or Programmatically
- Scroll Up/Down, Left/Right
- Plot Grid (Graticule) on Graph
- Printing, Preview, and Page Set-up (margins) -WYSIWYG
- Save Plot using various Picture Formats
- Cursor X-Y User Axis Values
- Simple, Lightweight and Fast
- Can be Used with Boa Applications if Desired
- Lots of Comments and Doc Strings along with Example Usage

I have tested this out on Windows using Python 2.2 and wxPython 2.4.0.6. If
you have the chance to test it on Linux, please let me know how it works.
Suggestions and improvements welcome.

Screen shots, source and instructions for Boa can be found at

http://www.cyberus.ca/~g_will/wxPython/wxpyplot.html

Hi,

Nice contribution!

BTW are ou planing to support some 3D plotting? I have done some
googling for a python lib supporting 3D plots (preferably under
wxPython :slight_smile: and so far only gnuplot seems to be able to achieve it.

Best,
Olivier

···

On Mon, 16 Jun 2003, Gordon Williams wrote:

Hi All,

I have released Version 1.1 beta 2 of wxPyPlot for producing simple plots
in wxPython.

This release fixes two bugs:
1. Printing under Lunix was failing because the dc.Clear method was
not implemented for postscript DCs.
2. wxPyPlot can be a child of any window now. This was causing
problems with print preview when the parent was not a wxFrame.

Thanks to Chris Barker and Jens B. Helmers for their feedback.

Users will require wxPython 2.4.0.6 or later and Numeric.

For your viewing pleasure, the website now has some html docs as well as a
few more screen shots of things. Check out:
http://www.cyberus.ca/~g_will/wxPython/wxpyplot.html

Check out the following URLs for 3D plotting.

[1] 2D & 3D plotting library with bindings for various languages
    including Python

http://www.linmpi.mpg.de/dislin/

[2] Object oriented interface to above includes a wxPython binding

http://kim.bio.upenn.edu/~pmagwene/disipyl.html

[3] Another 2D & 3D plotting librarie - supposed to be good

http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/python/pygist.html

Have used [1] & [2] of the above and it did the job OK.

Sean

···

olivier.grisel@ensta.org wrote:

Hi,

Nice contribution!

BTW are ou planing to support some 3D plotting? I have done some
googling for a python lib supporting 3D plots (preferably under
wxPython :slight_smile: and so far only gnuplot seems to be able to achieve it.

--
+---------------------------------------------------------------+

All spelling errors are intentional and are there to show new |
and improved ways of spelling old words. |

+---------------------------------------------------------------+

If you're prepared to to learn something new, VTK
(http://public.kitware.com/VTK/) provides fantastic 3D visualisation
capabilities, and has a dedicated script interface (using python, or
Tcl, Java). It's somewhat harder to learn than something like e.g.
Microcal Origin or MatLab, but it's very powerful. Also, once you
understand the structure, it is ease to use. It also interfaces well
with wxPython.

Bryan

···

On Tue, 2003-06-17 at 00:05, olivier.grisel@ensta.org wrote:

Hi,

Nice contribution!

BTW are ou planing to support some 3D plotting? I have done some
googling for a python lib supporting 3D plots (preferably under
wxPython :slight_smile: and so far only gnuplot seems to be able to achieve it.

Best,
Olivier

On Mon, 16 Jun 2003, Gordon Williams wrote:

>Hi All,
>
>I have released Version 1.1 beta 2 of wxPyPlot for producing simple plots
>in wxPython.
>
>This release fixes two bugs:
>1. Printing under Lunix was failing because the dc.Clear method was
>not implemented for postscript DCs.
>2. wxPyPlot can be a child of any window now. This was causing
>problems with print preview when the parent was not a wxFrame.
>
>Thanks to Chris Barker and Jens B. Helmers for their feedback.
>
>Users will require wxPython 2.4.0.6 or later and Numeric.
>
>For your viewing pleasure, the website now has some html docs as well as a
>few more screen shots of things. Check out:
>http://www.cyberus.ca/~g_will/wxPython/wxpyplot.html

--
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

--
Bryan Cole
Teraview Ltd., 302-304 Cambridge Science Park, Milton Road, Cambridge CB4 0WG, United Kingdom.
tel: +44 (1223) 435380 / 435386 (direct-dial) fax: +44 (1223) 435382

Ok I'll try this one since dislin isn't free (as in freedom) and pygist
doesn't seem to interface with wxPython.

Cheers,
Olivier

···

On Tue, 17 Jun 2003, bryan cole wrote:

If you're prepared to to learn something new, VTK
(http://public.kitware.com/VTK/) provides fantastic 3D visualisation
capabilities, and has a dedicated script interface (using python, or
Tcl, Java). It's somewhat harder to learn than something like e.g.
Microcal Origin or MatLab, but it's very powerful. Also, once you
understand the structure, it is ease to use. It also interfaces well
with wxPython.