Why is the figure in my EPS file generated using MATLAB R2014b in the wrong position and with extra white space when viewed in Mac Preview, even though I set PaperPositionMode to 'auto'?
Show older comments
If I generate an EPS file in MATLAB R2014b as follows:
>> f1 = figure;
>> surf(peaks);
>> f1.PaperPositionMode = 'auto';
>> print -f1 -depsc Peaks.eps
When I open the output EPS file in Preview on Mac OS X, the figure is shown at the bottom-left corner. The EPS file generated with the same code using MATLAB R2014a is shown at the center, as it should be when 'PaperPositionMode' is set to 'auto'.
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!