HI, I am trying to plot a line and a map (with scatterplotitem) both with
log scale in the x-axis;
......
plot_psdSRC = pg.PlotWidget()
plot_psdSRC.setLogMode(True,False)
spect=pg.ScatterPlotItem(size=10, pen=pg.mkPen(None), brush=pg.mkBrush(255,
255, 255, 120))
plot_psdSRC.plot(freqvalS[1:],specS[1:],pen='m')
val=[]
val.append({'pos': [0.1,100],'data':1, 'size':8.0,'brush':'w'})
spect.addPoints(val)
....
this line plots fine:
plot_psdSRC.plot(freqvalS[1:],specS[1:],pen='m')
but
spect.addPoints(val)
puts the dot at x=1,y=100
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyqtgraph/fc3ec451-84a1-43d9-9214-e904664389d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.