Ploting graphics from grids.

Hi.

I have some data in "wxGrid"s and I want to plot some graphics with
such data. Is there anything standard for that? What do you recommend
for such a task? I've been thinking about using matplotlib, but I
don't know if it's too "overkill" for the task.

TIA,
- --
Godoy. <godoy@metalab.unc.edu>

HI,

I have some data in "wxGrid"s and I want to plot some graphics with
such data. Is there anything standard for that? What do you recommend
for such a task? I've been thinking about using matplotlib, but I
don't know if it's too "overkill" for the task.

I have been using wxPyPlot with good results. It's very easy.
Takes Numeric/mumarrays, lists or tuples.

I also made some custom mods to add legend thickness and variable tick spacing, if you want to use that.

# modified: o.draw(dc, 4, coord= Numeric.array([pnt1,pnt2]))
# added "4"

# modified: def Draw(self, graphics, xAxis = None, yAxis = None, dc = None, idealTicks=7):
# added ", idealTicks = None"

Ray

wxPyPlot.py (54.7 KB)

RJ wrote:

HI,

I have some data in "wxGrid"s and I want to plot some graphics with
such data. Is there anything standard for that?

I have been using wxPyPlot with good results. It's very easy.
Takes Numeric/mumarrays, lists or tuples.

I'll second that. Here's the web sote for it, to make sure you get the latest:

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

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

I'll second that. Here's the web sote for it, to make sure you get
the latest:

I suspect you are not to be trusted on this ;-))

"""
Thanks to Chris Barker for getting this version working on Linux.
"""

:slight_smile:

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

Actually I had had a look at it before, but I thought it wasn't stable
yet. I'll give it a try since it seems much easier than
matplotlib. :wink: I just want to plot some graphics for simple analisys
- --- for now...

Later I'll need more complex graphics to plot what GM calls an
"I-Chart". But let the complex things for the complex programs. :wink:

See you,
- --
Godoy. <godoy@metalab.unc.edu>

···

On Tuesday 13 January 2004 15:34, Chris Barker ("Chris Barker" <Chris.Barker@noaa.gov>) wrote: