Plotting with PyQwt

Discussion in 'Python' started by Sara Lochtie, May 24, 2013.

  1. Sara Lochtie

    Sara Lochtie Guest

    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!
     
    Sara Lochtie, May 24, 2013
    #1
    1. Advertising

  2. Sara Lochtie

    Sara Lochtie Guest

    isn't correct*

    On Friday, May 24, 2013 12:58:50 PM UTC-7, Sara Lochtie wrote:
    > 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!
     
    Sara Lochtie, May 24, 2013
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Carl Gilbert

    Plotting points on a web page

    Carl Gilbert, Mar 7, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    547
    bruce barker
    Mar 7, 2005
  2. =?ISO-8859-1?Q?Per-Olav_Rus=E5s?=

    plotting API?

    =?ISO-8859-1?Q?Per-Olav_Rus=E5s?=, Jul 7, 2003, in forum: Java
    Replies:
    2
    Views:
    755
    Marco Schmidt
    Jul 7, 2003
  3. Madhusudan Singh

    Dynamic autoscaling of axes with pyqwt ?

    Madhusudan Singh, Aug 15, 2005, in forum: Python
    Replies:
    0
    Views:
    340
    Madhusudan Singh
    Aug 15, 2005
  4. Gib Bogle

    PyQwt installation

    Gib Bogle, Jan 18, 2010, in forum: Python
    Replies:
    0
    Views:
    378
    Gib Bogle
    Jan 18, 2010
  5. Gib Bogle
    Replies:
    5
    Views:
    1,094
    Gib Bogle
    Feb 24, 2010
Loading...

Share This Page