Axes offset when copying
2 次查看(过去 30 天)
显示 更早的评论
I have a figure that looks fine before copying. It has two sets of axes on top of one another, one which is just there to have a second set of ytick labels. The problem is that when I copy and paste this figure into a word document, the axes offset just a little bit. The ticks don't line up, and there is a second x-axis line below the original one. Any ideas?
0 个评论
回答(1 个)
Jan
2012-12-19
编辑:Jan
2012-12-19
Do not copy&paste, but print -eps.
[EDITED] Example code:
print(FigHandle, '-depsc2', '-r300', '-tiff', '-loose', EPSFile);
When you insert this in MS Word, the display on the screen shows the TIFF preview only. But when you print it to paper or to a PDF the vector graphics are inserted, which looks very nice even in very high resolution.
2 个评论
Jan
2012-12-19
I do not understand how you copy&paste an EPS file. Simply insert the file from the menu in MS Word. See [Edited].
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!