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

savefig("file.png")

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