nitriles
11th October 2007, 15:22
Hey,
using the moustracking:
#mouse coordinates
picker = Qwt.QwtPlotPicker(Qwt.QwtPlot.xBottom,
Qwt.QwtPlot.yLeft,
Qwt.QwtPicker.NoSelection,
Qwt.QwtPlotPicker.CrossRubberBand,
Qwt.QwtPicker.AlwaysOn,
demo.canvas())
picker.setTrackerPen(qt.QPen(qt.Qt.black))
how can i change the number of significant digits? I only want 2 places behind the decimal, %.2f ???
Thanks
using the moustracking:
#mouse coordinates
picker = Qwt.QwtPlotPicker(Qwt.QwtPlot.xBottom,
Qwt.QwtPlot.yLeft,
Qwt.QwtPicker.NoSelection,
Qwt.QwtPlotPicker.CrossRubberBand,
Qwt.QwtPicker.AlwaysOn,
demo.canvas())
picker.setTrackerPen(qt.QPen(qt.Qt.black))
how can i change the number of significant digits? I only want 2 places behind the decimal, %.2f ???
Thanks