You can do it by unselecting the "equal" symbol in the y= menu. Have you noticed that the "=" is written white on black?
When you go on it and press enter, you can switch to black on white and the function is disable and will never appear in you graph window :)