How to remove one x axis from 2 subplot

52 visualizaciones (últimos 30 días)
Rita
Rita el 13 de Abr. de 2016
Respondida: Azzi Abdelmalek el 13 de Abr. de 2016
I have these 2 subplots and I would like to share the x-axis for two plots.How can I do that?Thanks

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 13 de Abr. de 2016
h=findobj(gcf,'type','line')
set(h(2),'xticklabel','')

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by