我们蛴蛩钔淞下面介绍下mathematica如何画子图,当然需要用到子图的情况很多,有些时候我们需要看下对应的参数与时间的关系,如果适当的变动t我们就可以通过子图将其表现出来。
方法/步骤
1、首先打开软件,然后我们将继续操作。
2、然后调出writingassistant。这个是输入助手,可以很方便的输入一些符号。
3、我们接着绘画一个简单的图像,这里选择Plot即可绘画。b1=Plot[y,{y,-3,6}];
4、b2屏顿幂垂=Plot[y,{y,-3,6}];b3=Plot[y,{y,-3,6}];b4=Plot[y,惺绅寨瞀{y,-3,6}];我们接着构建其他的三个图,然后回车键+shift运行。
5、接着我们通过GraphicsGrid将所画的四个子图拼接起来即可。GraphicsGrid[{{b1,b1},{b3,b4}}]
6、如果想将所有的子图横着或者竖着排列,那么可以使用GraphicsRow或者GraphicsColumn即可。