On Wed, Jan 13, 2016 at 11:20 AM, Alexandr <[email protected]> wrote:
> How can I save the plot into the file without showing the figure?
>
> The code like this saves the figure but before it the figure shows up:

This should only happen in interactive mode. Shouldn't happen when run
as a script or if you turn interactive mode off.

https://github.com/stevengj/PyPlot.jl#interactive-versus-julia-graphics

>
>> using PyPlot
>> ....
>> p=plot(x_vector)
>> savefig("D:/test.PNG")
>
> How can I save the plot directly into the file?
>
> Thank you!
>
> --
> Alexandr

Reply via email to