How to remove one x axis from 2 subplot
Ältere Kommentare anzeigen
I have these 2 subplots and I would like to share the x-axis for two plots.How can I do that?Thanks
1 Kommentar
Kirby Fears
am 13 Apr. 2016
A similar question was asked and answered here: http://www.mathworks.com/matlabcentral/answers/59890-vertically-stacked-subplots-with-x-axis-labels-only-at-the-bottom
Antworten (1)
Azzi Abdelmalek
am 13 Apr. 2016
h=findobj(gcf,'type','line')
set(h(2),'xticklabel','')
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!