Mathematica基础——各种生僻的Plot函数

时间:2024-10-18 08:54:08

1、AudioPlot,绘制“声音”对应的波形:a = Audio["ExampleData/rule30.wav"]; AudioPlot[a, PlotRange -> {All, All}]

Mathematica基础——各种生僻的Plot函数

2、BodePlot,绘制一个系统的Bode图:BodePlot[ TransferFunctionModel[{{{20}}, 20 + s}, s]]

Mathematica基础——各种生僻的Plot函数

3、绘制sRGB色彩空间的色度图:ChromaticityPlot["sRGB"]

Mathematica基础——各种生僻的Plot函数

4、CommunityGraphPlot可以生成一个图(Graph)的“社区”图线:CommunityGraphPlot[ ExampleData[{"NetworkGraph", "DolphinSocialNetwork"}]]

Mathematica基础——各种生僻的Plot函数

5、DateListLogPlot绘制一个对数兔脒巛钒图,对应了每一个具体日期的数值:DateListLogPlot[Range[50, 1000, 50], {2007, 1, 1}]对比下面的效果:肛舀辨乔DateListPlot[Range[50, 1000, 50], {2007, 1, 1}]DateListStepPlot[Range[50, 1000, 50], {2007, 1, 1}]

Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数

6、DensityPlot绘制函数对应的密度图:DensityPlot[Sin[2 x] Sin[3 y], {x, -4, 4}, {y, -3, 3}柯计瓤绘]StreamPlot绘制函数对应的流线图:StreamPlot [{Sin[2 x], Sin[3 y]}, {x, -4, 4}, {y, -3, 3}]StreamDensityPlot 绘制流线图,且背景色随着场域数值的变化而变化:StreamDensityPlot [{Sin[2 x], Sin[3 y]}, {x, -4, 4}, {y, -3, 3}]VectorPlot绘制向量图:VectorPlot[{Sin[2 x], Sin[3 y]}, {x, -4, 4}, {y, -3, 3}]

Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数

7、DiscretePlot,绘制序列图:DiscretePlot[PrimePi[k], {k, 1, 50}]DiscretePlot[Prime[n], {n, 1, 50}]

Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数

8、ListPlot绘制序列的点状图:ListPlot[Prime[Range[36]]]ListPlot[Table[{Sin缪梨痤刻[2 n], Sin[3 n]}, {n, 360}]]ListLinePlot绘制序列的线状图:ListLinePlot[Prime[Range[36]]]ListLinePlot[Table[{Sin[2 n], Sin[3 n]}, {n, 360}]]

Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数

9、ListLogPlot绘制序列的对数图:ListLogPlot[Prime[Range[36]]]ListLogLogPlot绘鲽判砦吟制序列的双对数图:ListLogLogPlot[Prime[Range[36]]]ListLogLinearPlot,用一条线把序列的点连起来:ListLogLinearPlot[Prime[Range[36]],Joined->True]

Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数
Mathematica基础——各种生僻的Plot函数

10、FeatureSpacePlot[Rasterize /@ Alphabet[]]提取一系列图片的特征,并把所有的特征绘制成散点图。

Mathematica基础——各种生僻的Plot函数

11、GeoListPlot,产生显示目标地理位置的地图:GeoListPlot[{Ctrl+BeiJing,Ctrl+Shanghai,Ctrl+Weihai,Ctrl+lanzhou}]

Mathematica基础——各种生僻的Plot函数

12、GeoRegionValuePlot绘制不同地理位置的区域范围,并着不同的颜色:GeoRegionValuePlot [{Ctrl+shandong->3.6,Ctrl+hebei->6,Ctrl+gansu->0.6}]你们看看,河北的地理位置对吗?

Mathematica基础——各种生僻的Plot函数
© 手抄报圈