PDA

View Full Version : clear curve before new plot



vanduongbk
25th September 2013, 10:27
hello all
i have a question that in form ,i have create 3 buttons with 1 qwt plot widget
i have write a program to execute when any button is clicked ,it will plot a curve on a qwtplot ,
this plot is good but it have a problem that 3 this curves is overwritten on plot
how when i click button ,exist curve will be clear ,and then my plot begin