Why does the EPS file generated by the PRINT command in MATLAB 6.5 (R13) change the y axis ticks?

1 view (last 30 days)
Why does the EPS file generated by the PRINT command in MATLAB 6.5 (R13) change the y axis ticks?
I am trying to export a MATLAB 6.5 (R13) figure to an EPS file using the PRINT command:
print -depsc -tiff -r600 myfigure.fig
The generated EPS file has the wrong y axis tick marks. Why does this happen?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This happens because the Y axis ticks in the figure are set to 'Auto' and the Y axis is rescaled when the figure is resized for exporting.
To preserve the Y axis ticks from the original figure to the exported figure, uncheck the 'Auto' option for the Y axis by going to Edit => Axes Properties from the figure window.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!