Mathematica基础——各种标签的用法

时间:2024-10-12 08:44:58

本文,介绍一下Mathematica里面,对各种标签的操作。

Mathematica基础——各种标签的用法

工具/原料

电脑·

Mathematica

分类介绍

1、PlotLabe可以指定图形的整体标签:ContourPlot3D职邗珩垃[x^6+ y^6+0.000001== z^6, {x, -3, 3}, {y, -3, 3}, {z, -3, 3魈胺闹臣}, PlotLabel ->x^6+ y^6+0.000001== z^6]

Mathematica基础——各种标签的用法

2、PlotLabels 可以指定不同图像的标签:ListLinePlot[{{1, 2, 3, 5, 8, 13, 21}, {1荑樊综鲶, 2, 4, 8, 16, 32, 64}}, PlotLabels -> {"斐波那契数", "2的幂"}]

Mathematica基础——各种标签的用法

3、PlotLegends绘制图形的图例:LogPlot[{Sin[x^2 + 1], Cos[x^2 + 1]}, {x, 0, \[Pi]}, PlotLegends -> "Expressions"]

Mathematica基础——各种标签的用法

4、AxesLabel可以指定坐标轴的标签:Plot[Sin[x]/x, {x, 0, 100}, AxesLabel ->{x, Sin[x]/x}]

Mathematica基础——各种标签的用法

5、FrameLabel可以指定边框的标签:Plot[Sin[x^2], {x, 0, 10}, Frame -> True, FrameLabel -> {{y, Sin[x^2]}, {x, "作图"}}]

Mathematica基础——各种标签的用法
© 手抄报圈