But it does plot it, and use *display()* to display it. And I didn't know the REPL doesn't let you edit plots. It works just fine (i.e. like MATLAB) in Juno.
On Monday, May 23, 2016 at 7:37:34 AM UTC-7, NotSoRecentConvert wrote: > > I agree with Dave. Having come from working with Matlab myself I liked > that I could interactively build up plots from the REPL. My experience in > plotting with Julia is only with PyPlot but I found it frustrating and time > consuming to figure out why it behaved differently in different situations > and in unexpected ways. In Julia I have to make a script to do a quick plot > or repeat a bunch of lines in the REPL if I get any part of it wrong > because the REPL is unusable while a plot is open. > > From a design perspective I would expect that issuing a plot() command > would result in a plot window to open. This is part of the syntax of > programming. *for* every element in this loop do this. *print()* this > string to the REPL. *write()* this information to a file. *plot()* this > data so I can visualize it. > > This isn't meant to *force* Julia to be like Matlab but to make it make > sense. Not having to add a semicolon to every line to suppress its output > is nice. I don't care to look at the object plot() returns but the plot > that it is supposed to create. >