Saving as EMF messes up my labels and ticks
显示 更早的评论
Good day,
I need to save some figures in ".emf" format (best quality & rescaling). The problem is with the label text and with axes ticks, they get shifted in the printed(saved) version. This is a simple example of a figure:
figure;
x = -pi:pi/10:pi;
y = tan(sin(x)) - sin(tan(x));
plot(x,y,'--rs','LineWidth',2,...
'MarkerEdgeColor','k',...
'MarkerFaceColor','g',...
'MarkerSize',10)
xlabel('This text should be centered');
ylabel('This text should be centered');
title('This text should be centered');
Bellow you can see the figure saved as .jpg, and then as .emf:


As you can see is the second picture (.emf) the labels and ticks are shifted. I would be grateful if anyone could help me solve this issue. Thank you !
采纳的回答
更多回答(1 个)
Maksym Girnyk
2016-2-16
1 个投票
A rather silly solution that works for me is to just open an arbitrary fig-file in Matlab. After this printing to an emf-file works as it should, until I close Matlab again.
类别
在 帮助中心 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!