How to remove one x axis from 2 subplot
이전 댓글 표시
I have these 2 subplots and I would like to share the x-axis for two plots.How can I do that?Thanks
댓글 수: 1
Kirby Fears
2016년 4월 13일
A similar question was asked and answered here: http://www.mathworks.com/matlabcentral/answers/59890-vertically-stacked-subplots-with-x-axis-labels-only-at-the-bottom
답변 (1개)
Azzi Abdelmalek
2016년 4월 13일
h=findobj(gcf,'type','line')
set(h(2),'xticklabel','')
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!