I create a plot and insert a legend. I then alter aspects of the format (e.g., font type, font size, etc.). When I export the plot, the legend moves. The following code reproduces the issue:
plot(1:10);lh = legend(gca,0);print -dbmp test.bmp
exportexportinglegendMATLABposition;resetsavesaving
plot(1:10);lh = legend(gca,0);print -dbmp test.bmp
Best Answer