MATLAB: Set same xlim for all subplots

gcalabel;set(gca)subplotxlim

Hi all,
i need to specify one "xlim" for my all multiple subplots. I read already answers here but i got some problems about my labels. It disappear. I think; because of "set(gca)" on my codes. I couldn't figure out, how to solve this. If you any idea i really appreciated that. Here my codes of a subplot. Thank you so much!

Best Answer

You may want to use linkaxes on your subplot axes.