How can I change the scale of y axis from figure 1 to figure 2
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169779/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169781/image.png)
0 comentarios
Respuestas (1)
KL
el 18 de Nov. de 2017
Use handles.
f1 = figure(1);
h1 = plot(rand(3));
ax1 = gca;
f2 = figure(2);
h2 = plot(rand(5));
ax2 = gca;
now use ax1 properties on ax2
ax2.YLim = ax1.YLim;
0 comentarios
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!