remove(p)
Removes the object with handle p from the plot, and redraws.
p
Example:
w=gfx.Window() p1=w:plot({1,10},{1,10},'bo-') p2=w:plot({5,5},{5,3},'rx-') p1:remove();