define a PlotGraphicsContext when saving as .bmp / .png / .jpg

no graphics context was defined in that case, causing an error. I'm using PlotGraphicsContext now.