这是如何在Matlab中创建具有两个Y轴的绘图的示例®。
阅读Matlab文档中的“Yyaxis”功能。此功能可在R2016A或更新中提供。
有关更多示例,请转到Matlab Plot Gallery -//www.tatmou.com/discovery/gallery.html.
Mathworks Plot Gallery团队(2021)。Matlab Plot Gallery - 两个Y轴绘图(1)(//www.tatmou.com/matlabcentral/fileexchange/35295-matlab-plot-gallery-two-y-axis-plot-1),Matlab中央文件兑换。检索到。
轴难以处理,有许多重叠案例。Plotyy需要2套轴,带有2个独立的X轴导致问题。这是一个不应该发生的系统问题。