ich hoffe von Euch kann mir Jemand einen guten Tipp geben. Also ich plotte mit meinem Programm Daten, dazu nutze ich matplotlib. Das ploten funktioniert auch wie erwünscht nur hat matplotlib Probleme mit c.a. 50 Millionen Punkten.

Hier noch der Code mit dem ich plotte,
Code: Alles auswählen
def drawtransientall(self,min):
self.subplot = self.figure.add_subplot(111)
self.subplot.grid(True)
list_t1,list_peaks,t2,list_samples = self.computetransientall(min,min+self.maxitems)
offset = 0
color = ['green','red','blue','magenta','cyan']
markerPeaks = ['v','<','1','3','s']
markerSamples = ['^','>','2','4','p']
self.plots=[[],[]]
for i in range(len(self.showBands)):
self.plots[0] += self.subplot.plot(list_t1[i],list_peaks[i],color=color[i],marker=markerPeaks[i],
linestyle='None')
self.plots[1] += self.subplot.plot(t2,list_samples[i]+offset,color=color[i],
marker=markerSamples[i],linestyle='None')
offset +=1
self.subplot.set_xlim(t2[0]-np.abs(t2[-1]-t2[0])/100,t2[-1]+np.abs(t2[-1]-t2[0])/100)
ymax = np.amax(list_samples)
ymin = np.amin(list_samples)
self.subplot.set_ylim([ymin-np.abs(ymin)*0.1, ymax*1.2 + 2])
self.subplot.set_ylabel("abs(Sample(t)) und abs(Peak(t)+Offset)-->",fontsize = 12)
self.subplot.set_xlabel("Zeit in Sek. -->",fontsize = 12)
Hat Jemand eine Idee wie ich das umgehen kann ?
Grüße Markus