Can anyone share m.file for inset zooming of figure with multiple subplots?
2 ビュー (過去 30 日間)
古いコメントを表示
I am having a figure with multiple subplots. I am having few m.files that can zoom-in specific portion of graph and provide an inset. But those files can only zoom-in 1 plot (not figure with more than 1 subplpots). I need an m.file or matlab tool using which i can zoom-in any portion of any subplot.
0 件のコメント
回答 (1 件)
mizuki
2016 年 10 月 25 日
If you meant that you want to zoom not only one subplot but all subplots, linking all axes with LINKAXES would do.
figure;
ax1 = subplot(1,2,1);
plot(rand(5,5))
ax2 = subplot(1,2,2);
plot(rand(5,5))
linkaxes([ax1, ax2], 'xy')
zoom on
参考
カテゴリ
Help Center および File Exchange で Visual Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!