[wxPython-users] Re: Using wxPython to draw 2-D graphs
Christopher Barker
Chris.Barker at noaa.gov
Mon Apr 2 14:53:12 PDT 2007
Christian K wrote:
>> But one of the things I want to do is to draw 2-D graphs.
>> Specifically, given a set of 2-D Cartesian coordinates (xi,yi), to
>> plot those points and to also have the option of drawing a curve
>> that connects those points.
IF you want a scientific.mtah type plot, with and x and y axis, tick
marks, etc, then wx.lib.plot (for basic stuff) or Matplotlib (for a LOT
of flexibility) is the way to go.
If you want more general drawing of things in 2-d space, with zooming
and panning, and clicking on objects, the wx.lib.floatcanvas is a good
way to go. If it looks like it might work for you, be sure to get the
latest release from:
http://www.mithis.com/~chrisb/
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list