Effacer les filtres
Effacer les filtres

How to remove one x axis from 2 subplot

62 vues (au cours des 30 derniers jours)
Rita
Rita le 13 Avr 2016
I have these 2 subplots and I would like to share the x-axis for two plots.How can I do that?Thanks

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 13 Avr 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