如何在Mathematica中畫出一條平行於Y軸的直線?

時間 2021-05-12 22:19:58

1樓:

Plotting horizontal and vertical lines in Mathematica

或者:Plot[Sin[x], , GridLines -> , {}}]

Plot[Sin[x], , Epilog -> Line[, }]]

2樓:曹洪洋

Show[

Plot[{},,GridLines->,{}},GridLinesStyle->Red],

Plot[9!(x-2),,PlotRange->5,PlotStyle->Green],

ParametricPlot[,,PlotStyle->Blue],ListLinePlot[,},PlotStyle->Magenta]]

3樓:

僅舉2個例子:

Manipulate[

ContourPlot[x == c, , , Axes -> True,

Frame -> False], ]

Manipulate[

Graphics[Line[, }], Axes -> True,PlotRange -> , }], ]

如何實現Mathematica中的Gather函式?

gather和gatherby不是大同小異嗎?只不過沒有函式輸入的時候呼叫的是預設的sameQ。至於如何確定ab兩元素是否處於同乙個集合,有一系列並查集演算法 合併查詢集合 基本能夠做On的時間複雜度。最後對於複雜的資料結構而言,比較hash結果它不香嗎? 這問題有點難的。不帶測試的還好說 lst ...

在 Mathematica 中,你認為哪些強大命令是你相見恨晚的?

Components和Measurements系列,知道越多越好!ComponentMeasurementsImageMeasurements MorphologicalComponentsWatershedComponents 等等 一下記不起來所有,但是真的是掌握乙個就能在很大範圍內呼風喚雨!尤...

如何學習和使用Mathematica?

心蘭相依 我一開始沒人帶,不會上谷歌和SE,各種劣勢條件使得我學MMA的主要方式就是看函式使用方法 效果可想而知爛的一批 後來開始找書籍看,就是其它幾個答案推薦的英文書 其實我都是一本書挑部分來看的那種 開始知道有核心語言這回事。按照另外乙個答主提出的那個3個level的評價體系來看我應該處於lev...