Mathematica基础——*Plot函数(续)

 时间:2024-10-12 04:47:10

1、GraphPlot[{1 -> 2, 1 -> 3, 2 -> 3, 1 -> 4, 2 -> 4, 1 -> 5}]绘制一个图(Graph)。

Mathematica基础——*Plot函数(续)

3、TreePlot[{1 -> 4, 1 -> 6, 1 -> 8, 2 -> 6, 3 -> 8, 4 -> 5, 7 -> 8}]生成树状图。即使不是一颗“树形图”,也可能运行:TreePlot[{1 -> 2, 1 -> 3, 2 -> 3, 1 -> 4, 2 -> 4, 1 -> 5}]

Mathematica基础——*Plot函数(续)

4、LineIntegralConvolutionPlot生成一个矢量图的线性积分卷积图:LineIntegralConvolutionPlot[{Sin[2 x], Cos[3 y]}, {x, -1, 1}, {y, -0.6, 0.6}]把这个效果作用于图片:LineIntegralConvolutionPlot[{{Sin[2 x], Cos[3 y]},图片}, {x, 0, 500}, {y,0, 376}]

Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)

7、以等角间隔绘制一组数据(注意,数据为极半径):ListPolarPlot[Table[{n, Log[n]}, {n, 500}]]ListPolarPlot[Table[{n, Log[n]}, {n, 5000}]]ListPolarPlot[Table[{n, Log[n]}, {n, 500}],Joined->True]

Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)

10、ProbabilityPlot给出与数据相对应的正态分布的概率图:哌囿亡噱Table[ProbabilityPlot[Range[0, 1, 0.025]^2, Joined -媪青怍牙> True, ColorFunction -> Function[{x, y}, f], PlotLabel -> f, PlotStyle -> Thick], {f, {Hue[x], Hue[y]}}]ProbabilityScalePlot给出与数据相对应的正态分布的概率图,并按照指定的规则进行缩放:shuju = {8, 44, 91, 32, 4, 33, 8, 115, 61, 136, 18, 54, 43, 28, 56, 36, 137, 26, 53, 21, 69, 12, 13, 42, 10};ProbabilityScalePlot[shuju, "LogNormal", GridLines -> Automatic, GridLinesStyle -> "Classic", ImageSize -> {500,365}]将数据与一个正态分布进行比较:QuantilePlot[shuju]

Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)Mathematica基础——*Plot函数(续)

13、RulePlot按照某种规则RulePlot[CellularAutomaton[30], {{1}, 0}, 10]RulePlot[CellularAutomaton[30], {{1}, 0}, 100]用某个元胞自动机(rule30)的基本图形和规则构造图片。

Mathematica基础——*Plot函数(续)

14、TimelinePlot绘制时间轴线:TimelinePlot[{Ctrl+world war1,Ctrl+world war2}]绘制两次世界大战的时间轴。

Mathematica基础——*Plot函数(续)
  • Mathematica经验与技巧:[5]绘图风格的设定
  • Mathematica经验与技巧:[6]图例的创建
  • Mathematica基础——内置判定函数
  • Mathematica数据可视化:[14]图形选项与样式 6
  • 怎么用Mathematica排版?
  • 热门搜索
    出门旅游必备用品清单 巴厘岛旅游费用 旅游费计入什么科目 大陈岛旅游 旅游网址 泰国旅游必备物品清单 江浙沪旅游攻略 成都自由行旅游攻略 广州好玩的旅游景点 丰顺旅游