[wxPython-users] plot labels
Christopher Barker
Chris.Barker at noaa.gov
Thu Jul 6 10:03:08 PDT 2006
richard mendes wrote:
> line = PolyMarker(pointMatrix, legend='Wide Line',
> colour=self.clrList[kleurCode], size=1,marker="circle")
> panel = PlotCanvas(splitter)
> splitter.AppendWindow(panel,500)
> panel.Draw(PlotGraphics(chromosoomPlots[i], chromosoomNummer, "Value
> X", "Value Y"))
>
> the problem i'm having is that i have to plot the datapoints with
> some kind of label. is this possible with wxpython and the syntax i
> used?
> And if so is it possible to print it vertically ?
I don't think the PlotCanvas support this as all. It wouldn't be that
hard to add, but if you're plotting, you're probably going to want other
features in the future, so I'd consider a full-featured plotting
library, like matplotlib:
http://matplotlib.sourceforge.net/
For using it in a wxPython application, look for the "embedded in wx"
examples, and/or a add-on package called wxmpl:
http://agni.phys.iit.edu/~kmcivor/wxmpl/
-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 at noaa.gov
More information about the wxpython-users
mailing list