필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
eduardoq
eduardoq 2013년 2월 21일
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

답변 (1개)

Jan
Jan 2013년 2월 21일
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
Sean de Wolski
Sean de Wolski 2013년 2월 21일
@Jan, not necessarily:
subplot(131);
peaks;
subplot(1,3,2:3);
peaks
But yes, they will unless you tell them not to :)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by