How to Plot with gr() at the same time with showing computation result at the terminal Julia REPL?

Just do display(plot(...)) or swap the calls around so that plot is called last and to println(newton(...)) to print the result to the REPL?