Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45915 > unrolled thread

Plotting with PyQwt

Started bySara Lochtie <sara.lochtie@gmail.com>
First post2013-05-24 12:58 -0700
Last post2013-05-24 13:06 -0700
Articles 2 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Plotting with PyQwt Sara Lochtie <sara.lochtie@gmail.com> - 2013-05-24 12:58 -0700
    Re: Plotting with PyQwt Sara Lochtie <sara.lochtie@gmail.com> - 2013-05-24 13:06 -0700

#45915 — Plotting with PyQwt

FromSara Lochtie <sara.lochtie@gmail.com>
Date2013-05-24 12:58 -0700
SubjectPlotting with PyQwt
Message-ID<95315d83-2460-48b2-818f-412a911216cc@googlegroups.com>
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!

[toc] | [next] | [standalone]


#45916

FromSara Lochtie <sara.lochtie@gmail.com>
Date2013-05-24 13:06 -0700
Message-ID<da37f828-8800-40b4-b84f-774774e83dd5@googlegroups.com>
In reply to#45915
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!

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web