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'?
Afficher commentaires plus anciens
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'.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!