how to draw a straight line in python using the class PolyLine in
wx.lib.plot?
Asma Kothari wrote:
how to draw a straight line in python using the class PolyLine in
wx.lib.plot?
At the risk of sounding sarcastic, I don't understand how you could
possibly need to ask this question. What did you try that did not
work? Did you check the demo in wx\lib\plot.py?
You create the PolyLine with the coordinates you want, you add the line
to a PlotGraphics object, and you hand that to the Draw method of your
PlotCanvas.
ยทยทยท
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.