MATLAB Answers

Rita
0

How to remove one x axis from 2 subplot

Asked by Rita
on 13 Apr 2016
Latest activity Answered by Azzi Abdelmalek
on 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

1 Answer

Answer by Azzi Abdelmalek
on 13 Apr 2016

h=findobj(gcf,'type','line')
set(h(2),'xticklabel','')

  0 Comments

Sign in to comment.