How to link axes for plot created using Simulation Data Inspector ?

I have used simulation data inspector to plot some signals. And by using send to figure option, I have saved the plot as a Matlab figure. Now I would like to link the x-axis for all the subplots in the figure. How to do it ?.

回答 (1 件)

SWAROOP HP
SWAROOP HP 2020 年 4 月 13 日

0 投票

f = gcf;
a = findobj(f,'type','axes');
linkaxes(a,'x');
This works, my friend solved it for me !!!! Thanks

製品

リリース

R2016a

質問済み:

2020 年 4 月 10 日

回答済み:

2020 年 4 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by