手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

【Mathematica】怎么产生Graphics图

时间:2024-10-12 16:51:05

1、首先,Mathematica中各种以Plot结尾的命令,都可以得到Graphics:

【Mathematica】怎么产生Graphics图

2、以Plot结尾的命令包括但不限于:Names["*Plot"]

【Mathematica】怎么产生Graphics图

3、直接Graphics命令,也可以得到Graphics:Graphics[{Hue[0.5], Disk[]}]

【Mathematica】怎么产生Graphics图

4、如果一个图片img是Image:

【Mathematica】怎么产生Graphics图

5、则可以通过Show,把img转化为Graphics:

【Mathematica】怎么产生Graphics图

6、实际上,Show可以把若干Graphics叠合到一起:Show职邗珩垃[Plot[Sin[Tan[x]], {x, 0, 2 Pi}, ImageSize -> {500, 365}*1.5, PlotPoints -> 200],Graphics[{Hue[0.5], Disk[]}], PlotRange -> All,AspectRatio -> Automatic]

【Mathematica】怎么产生Graphics图

7、Image格式的img,可以执行倍数运算:img*1.5

【Mathematica】怎么产生Graphics图

8、而Graphics格式的fig的倍数运算无意义:fig*1.5

【Mathematica】怎么产生Graphics图
© 手抄报圈