Save figure as .emf - problems

16 vues (au cours des 30 derniers jours)
rupprechtt
rupprechtt le 5 Avr 2018
Commenté : Ildar Daminov le 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');

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by