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개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 4월 13일

1 개 추천

h=findobj(gcf,'type','line')
set(h(2),'xticklabel','')

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2016년 4월 13일

답변:

2016년 4월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by