I am generating multiple plots and would like to save them as jpg or gif files. Could someone tell me which function I shall use? Thanks!