Hi All,
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
- 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
- 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.2. 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
Regards,
Gordon Williams
I would've loved to have had this a while back. Out of curiosity, are
only standard plot types supported or can you extend the framework to
include custom plot types?
-- Mike
···
On Wed, Mar 12 @ 17:16, Gordon Williams wrote:
Hi All,
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
- 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
- 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.2. 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
--
Michael Gilfix
mgilfix@eecs.tufts.edu
For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html