Save figure as .emf - problems

16 views (last 30 days)
rupprechtt
rupprechtt on 5 Apr 2018
Commented: Ildar Daminov on 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');

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!