VectorPoints
VectorPlot,ListVectorPlotおよび関連関数のオプションで,どこに矢印を描くかを指定する.
詳細
- 次は,矢印の描画によく用いられる点のパターンである.
- VectorPointsで使用可能なオプション
-
None 場のベクトルは描かない Automatic 自動的に選択された場のベクトルを描く n 各方向に最大 n 個の点を使用する {m,n}, {m,n,k} 2Dおよび3Dで矢印の格子を使う Coarse 場のベクトルの粗い集合を自動的に選択する Fine 場のベクトルの精緻な集合を自動的に選択する "name" 名前付きの設定を使う {"name",n} 指定された数の点に名前付きの設定を使う {p1,p2,…} 点 p1, p2, …に場のベクトルを描く {{p1,g1},…} グラフィックス指示子 g1を使って p1に場のベクトルを描く - 次は,使用可能な名前付きの設定である.
-
"Regular" 構造格子上に矢印を描く "Hexagonal" 2Dまたは3Dの六角格子上にベクトルを描く "Mesh" 2Dの離散メッシュ上にベクトルを描く "FaceCenteredCubic" 3D面心立方格子上に矢印を描く
例題
すべて開く すべて閉じる例 (5)
VectorPlot[{-1 - x ^ 2 + y, 1 + x - y ^ 2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> {7, 9}]{VectorPlot[{x + y, -x + y}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> #]& /@ {Coarse, Fine}}VectorPlot[{-1 - x ^ 2 + y, 1 + x - y ^ 2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> RandomReal[{-3, 3}, {300, 2}], VectorSizes -> 2]VectorPlot[{y - x(1 - x^2 - y^2)^2, -x - y(1 - x^2 - y^2)^2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> "Mesh"]VectorPlot[{y - x(1 - x^2 - y^2)^2, -x - y(1 - x^2 - y^2)^2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> "Mesh", RegionFunction -> Function[{x, y, fx, fy, n}, x^2 + y^2 ≤ 4]]VectorPlot[{y - x(1 - x^2 - y^2)^2, -x - y(1 - x^2 - y^2)^2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> "Mesh", RegionFunction -> Function[{x, y, fx, fy, n}, Abs[x] + Abs[y] > 2]]スコープ (2)
Grid[Partition[Table[VectorPlot[{y ^ 2, x ^ 2 - y ^ 2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> n], {n, 5, 20, 5}], 2]]points = {{-1, -1}, {-1, 1}, {0, 0}, {1, -1}, {1, 1}};VectorPlot[{-1 - x ^ 2 + y, 1 + x - y ^ 2}, {x, -2, 2}, {y, -2, 2}, VectorPoints -> points, Epilog -> {Red, PointSize[Medium], Point[points]}]考えられる問題 (1)
デフォルトの六角格子メッシュは六角によるアーチファクトを導入することがある:
VectorPlot[{y - x(1 - x^2 - y^2)^2, -x - y(1 - x^2 - y^2)^2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> 25]点の生成に他のメソッドを使って六角によるアーチファクトを除去する:
VectorPlot[{y - x(1 - x^2 - y^2)^2, -x - y(1 - x^2 - y^2)^2}, {x, -3, 3}, {y, -3, 3}, VectorPoints -> {"Mesh", 25}]関連するガイド
-
▪
- ベクトルの可視化
テキスト
Wolfram Research (2008), VectorPoints, Wolfram言語関数, https://reference.wolfram.com/language/ref/VectorPoints.html (2020年に更新).
CMS
Wolfram Language. 2008. "VectorPoints." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/VectorPoints.html.
APA
Wolfram Language. (2008). VectorPoints. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VectorPoints.html
BibTeX
@misc{reference.wolfram_2026_vectorpoints, author="Wolfram Research", title="{VectorPoints}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/VectorPoints.html}", note=[Accessed: 05-December-2026]}
BibLaTeX
@online{reference.wolfram_2026_vectorpoints, organization={Wolfram Research}, title={VectorPoints}, year={2020}, url={https://reference.wolfram.com/language/ref/VectorPoints.html}, note=[Accessed: 05-December-2026]}