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:

> 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