最近才明白一个道理,原来很多复杂的图形,没办法用函数来表示(因为函数要求每个自变量x只能对应唯一的因变量y)。复杂的图形,可用参数方程来表示。

1. ParametricPlot[{fx, fy,{u,uMin,uMax}]
generates a parametric plot of a curve with x and y coordinates Subscript[f, x] and Subscript[f, y] as a function of u.
2. Manipulate[expr,{u,uMin,Subscript[u, max]}]
generates a version of expr with controls added to allow interactive manipulation of the value of u.

使用Mathematica动态绘制参数方程(Manipulate, ParametricPlot)

使用Mathematica动态绘制参数方程(Manipulate, ParametricPlot)
有了这个Manipulate功能,我们可以轻松查看图形怎样随参数变化而变化。教材中的这个例子,实际动手操作了一下,没想到如此好玩,大大超出了我的想象。所以,我索性给这个参数方程起了个名字——变形虫。


使用Mathematica动态绘制参数方程(Manipulate, ParametricPlot)

使用Mathematica动态绘制参数方程(Manipulate, ParametricPlot)

使用Mathematica动态绘制参数方程(Manipulate, ParametricPlot)
使用Mathematica动态绘制参数方程(Manipulate, ParametricPlot)

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-12-17
  • 2022-12-23
  • 2021-04-02
  • 2021-10-12
  • 2021-05-30
  • 2021-06-11
猜你喜欢
  • 2021-11-23
  • 2021-06-08
  • 2021-12-12
  • 2022-01-07
  • 2021-06-13
  • 2021-06-30
  • 2022-12-23
相关资源
相似解决方案