Mathematica绘制常见曲线
来源:互联网 发布:一人之下知乎 编辑:程序博客网 时间:2024/04/29 16:04
Mathematica绘制常见曲线
才疏学浅,资历欠佳,难免有误,望有心人批评指正。
本文主要用于展示自己使用mathematica
绘制的数学上的常见和常用曲线(本来是动图的,只因技术不精,变成静图了)
阿基米德螺线
Manipulate[ PolarPlot[a t, {t, -2 \[Pi], 2 \[Pi]}, PlotTheme -> "Detailed", AxesStyle -> Arrowheads[{0, 0.03}], PlotLabel -> "阿基米德螺线", PlotLegends -> None], {a, -1, 1}]
Manipulate[ PolarPlot[a Sin[3 t], {t, 0, Pi}, PlotTheme -> "Web", AxesStyle -> Arrowheads[{0, 0.03}]], {a, -1, 1}]
只是觉得好看,并非我所画
PolarPlot[ Evaluate[Table[ Abs[Sin[\[Theta] + i]], {i, 0, 2 Pi, 2 Pi/16}]], {\[Theta], 0, 2 Pi}, PlotStyle -> Thick, ColorFunction -> Function[{x, y, t, r}, Hue[r]], Axes -> False, RegionFunction -> Function[{x, y, t, r}, r < 0.555], ColorFunctionScaling -> False, PlotPoints -> 20, MaxRecursion -> 3]
伯努利双纽线
Manipulate[ ContourPlot[(x^2 + y^2)^2 == 2 a^2 x y, {x, -1, 1}, {y, -1, 1}, AspectRatio -> Full, PlotTheme -> "Scientific", PlotLabel -> "伯努利双纽线", AxesStyle -> Arrowheads[{0, 0.03}]], {a, -1, 1}]
四叶玫瑰线
Manipulate[ PolarPlot[a Sin[2 t], {t, -2 Pi, 2 Pi}, PlotTheme -> "Detailed", AxesStyle -> Arrowheads[{0, 0.03}], AspectRatio -> Full, PlotStyle -> {Red, Dashed}, PlotLabel -> "四叶玫瑰线", PlotLegends -> Automatic], {a, -1, 1}]
Manipulate[ PolarPlot[a Sin[2 t], {t, -2 Pi, 2 Pi}, PlotTheme -> "Detailed", AxesStyle -> Arrowheads[{0, 0.03}], AspectRatio -> Full, PlotStyle -> {Purple, Thickness[0.003]}, PlotLabel -> "四叶玫瑰线", PlotLegends -> Automatic], {a, -1, 1}]
做出图像并求解积分
Plot[1/(1 + x^2), {x, -15, 15}, PlotTheme -> "Detailed", PlotRange -> All, PlotRangePadding -> Scaled[.05], Filling -> Axis, FillingStyle -> {Opacity[0.7], Pink}]
Integrate[1/(1 + x^2), {x, -Infinity, Infinity}]
仅供学习参考与交流
1 0
- Mathematica绘制常见曲线
- 绘制曲线
- 曲线绘制
- 绘制曲线
- 曲线绘制
- 用 Mathematica 画极坐标曲线
- API-PolylineTo绘制曲线
- applet绘制曲线
- 如何绘制并行曲线
- VB绘制曲线
- 动态曲线绘制方法
- NURBS曲线绘制
- 绘制余弦曲线
- OpenGL曲线绘制:线段
- 绘制余弦曲线
- MATLAB曲线绘制
- 绘制余弦曲线
- 绘制平滑曲线
- Jedis初理解
- 使用hibernate中的hql进行分页设置setMaxResults(int a)出错
- android6.0源码分析之Camera API1.0初始化
- define中的#、##、#@及\
- ios 使用exosip库连接问题
- Mathematica绘制常见曲线
- ISO7816-3 T=1
- Spring Security 4 Hibernate整合 注解和xml例子(带源码)
- Markdown 使用
- JiaThis 分享插件调用
- Android开发之图片详解(2)
- Java并发编程:如何创建线程?
- python使用mongo数据库
- ListView的置顶操作与滑动监听