Subplot n pcolor matrixes
이전 댓글 표시
Hello everyone,
I have to subplot n pcolor matrixes in a 1 x n figure, but I have several problems because I can't set the size of the matrixes in the subplot. All my matrixes have the same size (120 x 120) and I must do it without using the image() function.
Please, could you help me?
Thank you so much.
채택된 답변
추가 답변 (1개)
Walter Roberson
2015년 9월 20일
n = length(AllMatrices);
for K = 1 : n
this_ax = subplot(1,n,K);
this_matrix = AllMatrices{K};
pcolor(this_ax, this_matrix);
title(sprintf('Matrix #%d', K));
end
댓글 수: 3
Jose Andrés
2015년 9월 21일
Walter Roberson
2015년 9월 21일
After the pcolor call, add
axis equal
But most of the problem is from trying to crowd too much information in. You should consider using montage()
Jose Andrés
2015년 9월 21일
카테고리
도움말 센터 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



