That depends on how you run your code. If you run it in the REPL then display is only called on the last return value, so you get one plot. Try
display(plot(x,x, label="linear"))
display(plot(x,x.^2, label="quadratic"))
or running your code line-by-line instead.