Hi everyone,
saving figures as .emf only exports the upper left corner. All the other formats I tried do work fine. Also .emf worked once. Can't remember that I changed anything. I have been trying for hours. Help would be great!
Little example: Folling code returns shown output.
x = 0:.1:2*pi;
y = sin(x);
fig = figure (1);
plot(x,y);
saveas(fig,'test','meta');

 採用された回答

rupprechtt
rupprechtt 2018 年 4 月 6 日

8 投票

Solved:
The problem was my external monitor. I always started Matlab without the connection and during work I connected the monitor. The result was shown. Restarting matlab while the monitor was conncted solved my problem.

1 件のコメント

Ildar Daminov
Ildar Daminov 2022 年 1 月 26 日
Thank you for sharing your solution! It helped me to solve a similar problem with a monitor and emf

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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!

Translated by