How do I export the whole figure plotted in matlab using export_fig?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have several graphs that I need for a thesis, which means that figures need a high resolution. But when trying to use export_fig the resulting image is zoomed in, leaving out important part of the graphs. I tried using one of matlabs own examples that look like this:
plot(cos(linspace(0, 7, 1000))); set(gcf, 'Position', [200 200 150 150]); saveas(gcf, 'test.png'); export_fig test2.png
The resulting images are attached where test2 is the exported image. The first example on this page https://github.com/altmany/export_fig is showing how the exported picture should look like. Since the code is running it is hard to know why the exported picture excludes important parts. So, how do I expand the area of the original plot that is exported in high resolution? I want to be able to export the image as I see it when it is plotted in matlab with as high resolution as possible. I already tried matlabs original save as, export, and copy, but since none of these gave good enough images I tried with export_fig. Any help is much appreciated!
1 comentario
Respuestas (0)
Ver también
Categorías
Más información sobre Import, Export, and Conversion en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!