Changing in method of saving plots

I changed extension of saved plot from .eps to .pdf and there will be no more pop up windows for each plots. Now we can run the code in sharcnet