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','')

質問済み:

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