Azzera filtri
Azzera filtri

How to remove one x axis from 2 subplot

62 visualizzazioni (ultimi 30 giorni)
Rita
Rita il 13 Apr 2016
Risposto: Azzi Abdelmalek il 13 Apr 2016
I have these 2 subplots and I would like to share the x-axis for two plots.How can I do that?Thanks

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 13 Apr 2016
h=findobj(gcf,'type','line')
set(h(2),'xticklabel','')

Community Treasure Hunt

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

Start Hunting!

Translated by