Call `show()` at the end of the script. See explanation here:

On Fri, Oct 14, 2016 at 1:17 PM, Stefan Rigger <> wrote:

> Hello everyone,
> I'm using julia to numerically solve partial differential equations and
> use PyPlot to plot the solutions. I'd like to be able to calculate a
> solution and plot entering something like
> julia -L file.jl
> in Terminal but unfortunately, this doesn't seem to work (there is no
> window opening where one can view the solution). I've attached a small .jl
> file if you want to test it yourself. Is there any way one can get this to
> work? Thank you for your time,
> Best Regards,
> Stefan Rigger

Reply via email to