Todd Batzler
2015-06-02 11:46:42 UTC
From examples\Plotting.py
<snip>
p2 = win.addPlot(title="Multiple curves")
p2.plot(np.random.normal(size=100), pen=(255,0,0), name="Red curve")
p2.plot(np.random.normal(size=110)+5, pen=(0,255,0), name="Blue curve")
p2.plot(np.random.normal(size=120)+10, pen=(0,0,255), name="Green curve")
<snip>
Can someone please demonstrate the procedure to now remove one of these
curves?
Everything I've tried, except for clear() which removes everything in the
plot window, either throws and attribute exception or does nothing.
Thanks.
Thanks.
<snip>
p2 = win.addPlot(title="Multiple curves")
p2.plot(np.random.normal(size=100), pen=(255,0,0), name="Red curve")
p2.plot(np.random.normal(size=110)+5, pen=(0,255,0), name="Blue curve")
p2.plot(np.random.normal(size=120)+10, pen=(0,0,255), name="Green curve")
<snip>
Can someone please demonstrate the procedure to now remove one of these
curves?
Everything I've tried, except for clear() which removes everything in the
plot window, either throws and attribute exception or does nothing.
Thanks.
Thanks.
--
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 pyqtgraph+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/149d32f1-f3b4-4ba2-9989-235d44e705e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 pyqtgraph+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/149d32f1-f3b4-4ba2-9989-235d44e705e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.