Question about Figure Export Setup

8 visualizaciones (últimos 30 días)
Kakit
Kakit el 14 de Jul. de 2011
Respondida: Matthias Will el 9 de Jul. de 2019
I always need to modify the figure properties to fit certain requirements such as figure size, font size and line styles. However, I find it impossible for me to change the figure size via export setup after opening the plot tool.
It is very convenient to change size/rendering/fonts/lines in the export setup. But as I open plot tool to make more detailed modification, it just resize the figure and could never be changed using export setup.
I don't have such problem using 2008 version. But this really annoys me in the version afterwards. Has anyone come across this problem and how to solve it? Thanks!

Respuestas (2)

Walter Roberson
Walter Roberson el 14 de Jul. de 2011
Generally people work around the problem by skipping the GUI and using Oliver's contribution export_fig

Matthias Will
Matthias Will el 9 de Jul. de 2019
I had the same problem as Kakit, however I did not find use of the export_fig function to be very satisfying as the size of the exported image is controlled by the size of the plot window (at least I did not manage to set the size in export_fig, correct me if I am wrong).
The problem using the plot tool is that it is setting the 'windowStyle' property to 'docked'. So what you want to do is
set(gcf,'WindowStyle','normal');
Afterwards you can use the export setup and set the desired size.
I found this solution here. It is in german though.

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects 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!

Translated by