

savefig(filename_string) # save the most recent fig as filename_string (such as "output.png") Command savefig chooses file type automatically based on the file extension. Plots support 2 different versions per save-command. The PlotPane can be disabled in Juno's settings. At any time, the plot can be opened in a standalone window using the gui() command. Plots are shown in the Atom PlotPane when possible, either when returned to the console or to an inline code block.

This can be changed by the html_output_format attribute, with alias fmt: plot(rand(10), fmt = :png) Juno / Atom The default output format is svg for backends that support it. Plots are shown inline when returned to a cell. Returning a Plot object to the REPL is like calling gui(plt). gui(), like plot!(.), applies to the "current" Plot. You can have MATLAB-like interactive behavior by setting the default value: default(show = true) Standalone windowĬalling gui(plt) will open a standalone window.
