日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

Mathematica绘制常见曲线

發布時間:2023/12/4 综合教程 26 生活家
生活随笔 收集整理的這篇文章主要介紹了 Mathematica绘制常见曲线 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Mathematica繪制常見曲線

才疏學淺,資歷欠佳,難免有誤,望有心人批評指正。

border="0" width="350" height="100" src="http://music.163.com/outchain/player?type=2&id=412493245&auto=1&height=66">

本文主要用于展示自己使用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}]

僅供學習參考與交流

總結

以上是生活随笔為你收集整理的Mathematica绘制常见曲线的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。