How to save two overlapped plots together in one single file?

using Plots
plot(0:10,sin);
plot!(0:10,sin,seriestype = :scatter)

In this example, the output are actually two plots. How can I save them in one file?

They are not two plots. It’s the same figure object.

how did you save them?

savefig("file.png")

does it. How did you get the picture you posted here?