set same ylim for all subplot (plot yy)
11 次查看(过去 30 天)
显示 更早的评论
I have 21 subplot of yyplot. I want to set same ylim and YTick for all subplots. I tried the following code: set(findobj(gcf,'type','axes'),'FontName','Arial','FontSize',10, 'LineWidth', 1,...
'XTick',[0 3 6 9 12 15 18 21 23],'YTick',[0 0.2 0.4 0.5]);
It works only for second- y axis.
Thank you for sharing.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!