Save .fig file as .eps file
Mostrar comentarios más antiguos
I have a problem with the "save as" action in .fig window of matlab.
When I save the .fig file as the .eps file, the figure changes. Such as:


The top one is the original .fig file, while the bottom one is the result of saving as .eps file.
I don't know why the line is out of plot window.
Thank you for any advice.
Respuestas (1)
VBBV
el 30 de Mzo. de 2023
plot(1:10)
saveas(gcf,'Linechart','epsc')
7 comentarios
VBBV
el 30 de Mzo. de 2023
Use the command saveas instead of saving it from Figure window. Or keep figure window maximized when saving using saveas action
VBBV
el 30 de Mzo. de 2023
There are several other options you can try e.g. exportgraphics, print commands
I-Chun
el 30 de Mzo. de 2023
VBBV
el 31 de Mzo. de 2023
exportgraphics(gcf,'filename.eps','Resolution',300)
Have you tried using the resolution argument in export graphics command ?
I-Chun
el 1 de Abr. de 2023
Categorías
Más información sobre Printing and Saving en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

