added exportPlot.m