I'm using QGraphicsScene to plot data. On pressing a button on the toolbar, i want contents of the QGraphicsScene to get cleared and do a fresh plot.
However, writing scene1->clear() doesn't seem to work..
Am i using it wrongly, or is there another way?