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

조회 수: 7 (최근 30일)
SWAROOP HP
SWAROOP HP 2020년 4월 10일
답변: SWAROOP HP 2020년 4월 13일
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일
f = gcf;
a = findobj(f,'type','axes');
linkaxes(a,'x');
This works, my friend solved it for me !!!! Thanks

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by