Size of figure inner box
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi all I have two figures which I want to have the same figure size To set the same figure size it's easy using set(gcf,'position')
my problem is that in one of the figures ylabel has two lines thus it decrease the size of the inner box of the figure. how can i set the tw0 figures to have the same inner box size?
P.S. Is it possible to set the location of ylabel corresponding to the axis?
Thank! Guy
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 11 de Ag. de 2013
Example
close all
y1=sin(1:100),
y2=cos(1:100)
plot(y1)
ax1=gca
figure
plot(y2)
ax2=gca
pos=get(ax1,'position')
set(ax2,'position',pos)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks 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!