Real time

Hello at all
I have to do the following:
I have tu use as base grap the following:

def calibrazione(self, massa, ampveliniziale, freqiniziale, freqfinale , freqps, avps, freqss, avss):
        import math
        dati = []
        for freq in range(int(freqiniziale), int(freqfinale)):
            forza = float(massa) * ((2*math.pi*freq)**2)/10
            dati.append(forza)
        ax1 = subplot(111)
        plot(dati)
        xlabel('Frequenza HZ')
        ylabel('Forza daN')
        title('Grafico Calibrazione')
        ax2 = twinx()
        plot([0.1,0.2,0.3],'r-')
        ylabel('Gradi')
        ax2.yaxis.tick_right()
      # savefig('test.pdf')
        show()

On this graf i have to draw others two signals that cam from two instrumentes every 20 seconds for 115 ties.
Thare are some sample or someone can explain it to me

Regards

Luca

···

------------------------------------------------------
Chi punta sull’inglese naturale Wall Street Institute, vince un English Box! Scopri come ritirare i tuoi premi, clicca qui!
http://click.libero.it/wallstreet14nov