这是一个在MATLAB中如何在另一个图中创建插入图的例子®。
阅读MATLAB文档中的“axes”函数。
更多的例子,去MATLAB绘图库-//www.tatmou.com/discovery/gallery.html
MathWorks绘图画廊团队(2021年)。MATLAB绘图库-在绘图中绘图(//www.tatmou.com/matlabcentral/fileexchange/35245-matlab-plot-gallery-plot-in-plot), MATLAB中央文件交换。检索。
ı将设置到哪里?bin文件?
> > x = linspace(4 *π,4 *π,300);%产生300维向量x
> > y = sin (x)
> >的情节(x, y)