Plotting with PyQwt

S

Sara Lochtie

Hi,

I'm trying to plot temperature vs. time using Qwt. I have temp data that i get in real time and I want to plot against time. So I thought I would have to use QwtPlot and QwtPlotCurve, so I did this first:

self.tempGraph = Qwt.QwtPlot(self)

curve = QwtPlotCurve()
curve.setData(x, temp)



x is the time and temp is the data I have collected.

I know this isn't current, but I just don't know how to go about it. I haven't used Qwt before.

If anyone has some tips or advice for me that would be great!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top