How to set all subplots to be of the same size?

1 visualización (últimos 30 días)
eduardoq
eduardoq el 21 de Feb. de 2013
Hello,
I'm ploting a figure with 4 subplots and I'm having trouble getting all the subplots to be of the same size. Is there a way to set the subplots to be of the same size. i'm also trying to have a single colorbar at the right part of the figure instead of a colorbar for each subplot. All subplots have the same caxis.
Any help will be truly appreciated.
Cheers

Respuestas (1)

Jan
Jan el 21 de Feb. de 2013
Subplots have all the same size by definition. If this is not the fact for your program, please show us what you have done.
  1 comentario
Sean de Wolski
Sean de Wolski el 21 de Feb. de 2013
@Jan, not necessarily:
subplot(131);
peaks;
subplot(1,3,2:3);
peaks
But yes, they will unless you tell them not to :)

Iniciar sesión para comentar.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by