mathematica 有没有像MATLAB的subplot的绘制子图的功能?

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/12 01:13:34
mathematica 有没有像MATLAB的subplot的绘制子图的功能?

mathematica 有没有像MATLAB的subplot的绘制子图的功能?
mathematica 有没有像MATLAB的subplot的绘制子图的功能?

mathematica 有没有像MATLAB的subplot的绘制子图的功能?
GraphicsGrid函数可以,还有GraphicsRow和GraphicsColumn.一个例子:
h1 = Plot[Sin[x], {x, -2 Pi, 2 Pi}];
h2 = Plot[Cos[x], {x, -2 Pi, 2 Pi}];
h3 = Plot[Sinc[x], {x, -2 Pi, 2 Pi}];
h4 = Plot[Abs[x], {x, -2 Pi, 2 Pi}];
GraphicsGrid[{{h1, h1}, {h3, h4}}]