Save figure as .emf - problems

15 Ansichten (letzte 30 Tage)
rupprechtt
rupprechtt am 5 Apr. 2018
Kommentiert: Ildar Daminov am 26 Jan. 2022
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');

Akzeptierte Antwort

rupprechtt
rupprechtt am 6 Apr. 2018
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 Kommentar
Ildar Daminov
Ildar Daminov am 26 Jan. 2022
Thank you for sharing your solution! It helped me to solve a similar problem with a monitor and emf

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by