Axes offset when copying

조회 수: 1 (최근 30일)
John
John 2012년 12월 18일
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?

답변 (1개)

Jan
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
John
John 2012년 12월 19일
Thanks for this, but when I use the command ("print -deps" I assume) it gives a warning that:
Files produced by the 'eps' driver cannot be sent to printer. File saved to disk under name 'figure1.eps'.
Copying and pasting this file into MS Word works, but it comes out black and white and not looking good.
Jan
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 CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by