ListVectorDisplacementPlot3D[{{{vx11,vy11,vz11},…,{vx1n,vy1n,vz1n}},…,{{vxm1,vym1,vzm1},…,{vxmn,vymn,vzmn}}}]
从矢量位移数组 {vxij,vyij,vzij} 生成位移图.
ListVectorDisplacementPlot3D[{{{x1,y1,z1},{vx1,vy1,vz1}},…,{{xn,yn,zn},{vxn,vyn,vzn}}}]
从点 {xi,yi,zi} 的位移 {vxi,vyi,vzi} 生成位移图.
ListVectorDisplacementPlot3D[{{{{vx11,vy11,vz11},s11},…,{{vx1n,vy1n,vz1n},s1n}},…,{{{vxm1,vym1,vzm1},sm1},…,{{vxmn,vymn,vzmn},smn}}}]
使用标量值 sij 为位移的区域着色.
ListVectorDisplacementPlot3D[{{{x1,y1,z1},{{vx1,vy1,vz1},s1}},…,{{xn,yn,zn},{{vxn,vyn,vzn},sn}}}]
使用点 {xi,yi,zi} 处的标量值 si 为位移区域着色.
ListVectorDisplacementPlot3D[…,reg]
绘制区域 reg 上的位移.
ListVectorDisplacementPlot3D
ListVectorDisplacementPlot3D[{{{vx11,vy11,vz11},…,{vx1n,vy1n,vz1n}},…,{{vxm1,vym1,vzm1},…,{vxmn,vymn,vzmn}}}]
从矢量位移数组 {vxij,vyij,vzij} 生成位移图.
ListVectorDisplacementPlot3D[{{{x1,y1,z1},{vx1,vy1,vz1}},…,{{xn,yn,zn},{vxn,vyn,vzn}}}]
从点 {xi,yi,zi} 的位移 {vxi,vyi,vzi} 生成位移图.
ListVectorDisplacementPlot3D[{{{{vx11,vy11,vz11},s11},…,{{vx1n,vy1n,vz1n},s1n}},…,{{{vxm1,vym1,vzm1},sm1},…,{{vxmn,vymn,vzmn},smn}}}]
使用标量值 sij 为位移的区域着色.
ListVectorDisplacementPlot3D[{{{x1,y1,z1},{{vx1,vy1,vz1},s1}},…,{{xn,yn,zn},{{vxn,vyn,vzn},sn}}}]
使用点 {xi,yi,zi} 处的标量值 si 为位移区域着色.
ListVectorDisplacementPlot3D[…,reg]
绘制区域 reg 上的位移.
更多信息和选项
- ListVectorDisplacementPlot3D 使用区域上的矢量场数据生成位移图. 默认情况下,置换的大小会自动缩放,以便小位移和大位移都保持可见. 默认情况下,位移区域根据位移的大小着色.
- 如果没有给出标量场值,它们将被视为矢量场的范数.
- 默认情况下,ListVectorDisplacementPlot3D 对给定的数据进行内插,并在位置的规则网格上绘制矢量场的矢量.
- ListVectorDisplacementPlot3D 具有与 Graphics3D 相同的选项,但有以下添加和更改: [所有选项的列表]
-
Axes True 是否显示轴 BoundaryStyle None 如何绘制 RegionFunction 边界 BoxRatios Automatic 用于模拟照明的有效三维框比例 ClippingStyle Automatic 如何显示矢量范围外的箭头 ColorFunction Automatic 如何给背景密度上色 ColorFunctionScaling True 是否缩放 ColorFunction 的参数 DataRange Automatic 为数据假定的 x、y 和 z 值的范围 Mesh None 在背景中绘制多少条网格线 MeshFunctions {#5&} 如何确定网格线的位置 MeshStyle Automatic 网格线的样式 Method Automatic 用于绘图的方法 PerformanceGoal $PerformanceGoal 要尝试优化的性能方面 PlotLegends None 颜色梯度图例 PlotRange {Full,Full} 要包括的 x、y 和 z 值的范围 PlotRangePadding Automatic 值的范围要填充多少 PlotStyle Automatic 如何设置变形区域的样式 PlotTheme $PlotTheme 图形的整体主题 RegionBoundaryStyle Automatic 如何设置绘图区域边界的样式 RegionFunction (True&) 确定要包含的区域 VectorColorFunction Automatic 如何给矢量着色 VectorColorFunctionScaling True 如何缩放 VectorColorFunction 的参数 VectorMarkers Automatic 用于矢量的形状 VectorPoints None 要绘制的矢量的数量或位置 VectorRange Automatic 要显示的矢量长度范围 VectorScaling Automatic 如何缩放箭头的大小 VectorSizes Automatic 显示箭头的大小 VectorStyle Automatic 如何绘制矢量 - 提供给 MeshFunctions、RegionFunction、ColorFunction 和 VectorColorFunction 中函数的参数为 x、y、z、vx、vy、vz、s.
- 默认设置 MeshFunctions{#7&} 为标量场 s 绘制网格线.
- 默认情况下,位移图显示原始区域和位移区域的表示.
- RegionBoundaryStyle 和 RegionFillingStyle 可用于更改原始区域的样式.
- 用于显示位移箭头的 VectorPoints 的其他设置包括:
-
Automatic 自动选择的点 All 使用原始数据点 "Boundary" 沿 reg 边界的点 - 默认情况下,位移箭头将原始区域中的位置与相应的位移位置连接起来.
- VectorSizesFull 显示完整位移而不是缩放表示.
所有选项的列表
范例
打开所有单元 关闭所有单元基本范例 (4)
ListVectorDisplacementPlot3D[Table[{z, y, -x}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}]]根据指定坐标和矢量的数据绘制矢量场. 参考区域是坐标的凸包:
data = Table[{x, y, z} = RandomReal[{-5, 5}, 3];{{x, y, z}, {z, y, -x}}, {50}];ListVectorDisplacementPlot3D[data]data = Table[{x, y, z} = RandomReal[{-5, 5}, 3];{{x, y, z}, {{z, y, -x}, x y z}}, {50}];ListVectorDisplacementPlot3D[data]data = Table[{x, y, z} = RandomReal[{-5, 5}, 3];{{x, y, z}, {z, y, -x}}, {50}];ListVectorDisplacementPlot3D[data, Cuboid[{-5, -5, -5}, {5, 5, 5}]]范围 (15)
采样 (8)
ListVectorDisplacementPlot3D[Table[{z - x, x - y, y - z}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}]]ListVectorDisplacementPlot3D[Table[{{x, y, z}, {z - x, x - y, y - z}}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}]]ListVectorDisplacementPlot3D[Table[{{x, y, z}, {{z - x, x - y, y - z}, x y z}}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}]]data = Table[{x, y, z} = RandomReal[{-5, 5}, 3];{{x, y, z}, {Sin[x], Cos[y], Sin[z]}}, {50}];ListVectorDisplacementPlot3D[data]ListVectorDisplacementPlot3D[data, VectorPoints -> Automatic]ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary"]ListVectorDisplacementPlot3D[data, VectorPoints -> "Hexagonal"]ListVectorDisplacementPlot3D[Table[{{x, y, z}, (RotationMatrix[π / 2, {1, 1, 1}] - IdentityMatrix[3]).{x, y, z}}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}], VectorSizes -> Full]ListVectorDisplacementPlot3D[Table[{{x, y, z}, {x - y, y z, z}}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}], Ball[{0, 0, 0}, 5]]使用 RegionFunction 指定区域:
ListVectorDisplacementPlot3D[Table[{{x, y, z}, {x - y, y z, z}}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}], RegionFunction -> Function[{x, y, z}, x y z ≤ 2]]data = Table[{{x, y, z}, {x - y, y z, z}}, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}];ListVectorDisplacementPlot3D[data, HilbertCurve[2, 3]]该域可能是一个 ImplicitRegion:
ℛ = ImplicitRegion[x^4 + y^4 + z^4 ≤ 16, {x, y, z}];ListVectorDisplacementPlot3D[data, ℛ]该域可能是一个 ParametricRegion:
ℛ = ParametricRegion[{{s, (1 + t) s ^ 2 - t, t^2}, -1 ≤ s ≤ 1 && 0 ≤ t ≤ 1}, {s, t}];ListVectorDisplacementPlot3D[data, ℛ]该域可能是一个 MeshRegion:
ℛ = MeshRegion[{{0, 0, 0}, {0, 0, 5}, {0, -5, 0}, {5, 0, 0}, {0, 5, 0}}, {Triangle[{1, 2, 3}], Triangle[{1, 2, 4}], Triangle[{1, 2, 5}]}];ListVectorDisplacementPlot3D[data, ℛ]该域可能是一个 BoundaryMeshRegion:
ℛ = BoundaryMeshRegion[{{0, 0, 0}, {5, 0, 0}, {0, 5, 0}, {0, 0, 5}}, Polygon[{{1, 2, 3}, {1, 2, 4}, {2, 3, 4}, {1, 3, 4}}]];ListVectorDisplacementPlot3D[data, ℛ]演示 (7)
指定变形区域的 ColorFunction:
ListVectorDisplacementPlot3D[Table[{{x, y, z}, {x, -y, -Sin[z]}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}], ColorFunction -> "Rainbow"]指定独立于 ColorFunction 的 VectorColorFunction:
ListVectorDisplacementPlot3D[Table[{{x, y, z}, {x, -y, -Sin[z]}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}], VectorPoints -> "Boundary", VectorColorFunction -> "DarkRainbow"]ListVectorDisplacementPlot3D[Table[{{x, y, z}, {x, -y, -Sin[z]}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}], VectorPoints -> "Boundary", VectorColorFunction -> None]ListVectorDisplacementPlot3D[Table[{{x, y, z}, {x, -y, -Sin[z]}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}], PlotLegends -> Automatic]ListVectorDisplacementPlot3D[Table[{{x, y, z}, {{x, -y, -Sin[z]}, x y z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}], PlotLegends -> Automatic]包括 Mesh:
ListVectorDisplacementPlot3D[Table[{{x, y, z}, (RotationMatrix[π / 4, {0, 0, 1}] - IdentityMatrix[3]).{x, y, z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}], Mesh -> 5]ListVectorDisplacementPlot3D[Table[{{x, y, z}, (RotationMatrix[π / 4, {0, 0, 1}] - IdentityMatrix[3]).{x, y, z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}], Mesh -> 5, VectorSizes -> Full]选项 (31)
BoxRatios (1)
默认情况下,长宽比为 Automatic:
data = Table[{{x, y, z}, {y, x, 1}}, {x, -2, 2, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data]ListVectorDisplacementPlot3D[data, BoxRatios -> {1, 1, 1}]BoundaryStyle (1)
data = Table[{{x, y, z}, {y, x, z}}, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}, {z, -2, 2, 0.1}];ListVectorDisplacementPlot3D[data]指定 BoundaryStyle:
ListVectorDisplacementPlot3D[data, BoundaryStyle -> Directive[Red, Thick]]BoundaryStyle 应用于由 RegionFunction 切割的区域:
ListVectorDisplacementPlot3D[data, BoundaryStyle -> Directive[Red, Thick], RegionFunction -> Function[{x, y, z, vx, vy, vz, n}, x^2 + z^2 ≥ 1]]ColorFunction (4)
data = Table[{{x, y, z}, {1 - x, y, z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[]]data = Table[{{x, y, z}, {{1 - x, y, z}, x y z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[]]data = Table[{{x, y, z}, {{1 - x, y, z}, x y z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[], ColorFunction -> "Rainbow"]指定自定义的 ColorFunction:
data = Table[{{x, y, z}, {{1 - x, y, z}, x y z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[], ColorFunction -> Function[{x, y, z, vx, vy, vz, n}, Hue[vy, n, 1]]]ColorFunctionScaling (2)
data = Table[{{x, y, z}, {1 - x, y, z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[], ColorFunctionScaling -> False]控制 ColorFunction 的各个参数的缩放:
data = Table[{{x, y, z}, {1 - x, y, z}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[], ColorFunction -> Function[{x, y, z, vx, vy, vz, n}, Hue[vx vy vz, n, 1]], ColorFunctionScaling -> {True, True, True, False, False, False, True}]DataRange (1)
Mesh (1)
指定 Mesh 来可视化位移:
data = Table[{z, y, x}, {x, 1, 10}, {y, 1, 10}, {z, 1, 10}];ListVectorDisplacementPlot3D[data, Mesh -> 5]{ListVectorDisplacementPlot3D[data, Mesh -> Full], ListVectorDisplacementPlot3D[data, Mesh -> All]}在
方向指定 10 条网格线,在
方向指定 5 条网格线,在
方向指定 3 条网格线:
ListVectorDisplacementPlot3D[data, Mesh -> {10, 5, 3}]ListVectorDisplacementPlot3D[data, Mesh -> {{5, 7, 8}, {2, 3}, {4}}]ListVectorDisplacementPlot3D[data, Mesh -> {{{2, Red}, {4, Blue}}, {5, 6, 7}, {{5, Green}}}]如果参考区域的边界和填充被移除,则参考区域中的网格线将被抑制:
ListVectorDisplacementPlot3D[data, Mesh -> 5, RegionBoundaryStyle -> None, RegionFillingStyle -> None]MeshFunctions (1)
data = Table[{{x, y, z}, {Sin[2z], Sin[3x], Cos[y]}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[], Mesh -> 6]ListVectorDisplacementPlot3D[data, Ball[], Mesh -> 5, MeshFunctions -> {#1^2 + #2^2&, #1^2 + #3^2&, #2^2 + #3^2&}]MeshStyle (1)
data = Table[{{x, y, z}, {Sin[2z], Sin[3x], Cos[y]}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Ball[], Mesh -> 6, MeshStyle -> Red]ListVectorDisplacementPlot3D[data, Ball[], Mesh -> 6, MeshStyle -> {Red, Green, Blue}]PlotLegends (3)
data = Table[{{x, y, z}, {x^2 - y^2, x y, z - x}}, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}, {z, -2, 2, 0.1}];ListVectorDisplacementPlot3D[data, PlotLegends -> Automatic]data = Table[{{x, y, z}, {{x^2 - y^2, x y, z - x}, x y z}}, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}, {z, -2, 2, 0.1}];ListVectorDisplacementPlot3D[data, PlotLegends -> Automatic]data = Table[{{x, y, z}, {{x^2 - y^2, x y, z - x}, x y z}}, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}, {z, -2, 2, 0.1}];ListVectorDisplacementPlot3D[data, PlotLegends -> Placed[Automatic, Below]]PlotPoints (1)
PlotRange (1)
默认使用完整的 PlotRange:
data = Table[{{x, y, z}, {x^2 - y^2, x y, z - x}}, {x, -2, 2, 0.1}, {y, -2, 2, 0.1}, {z, -2, 2, 0.1}];ListVectorDisplacementPlot3D[data]ListVectorDisplacementPlot3D[data, PlotRange -> 3]ListVectorDisplacementPlot3D[data, PlotRange -> {{-3, 3}, {-4, 4}, {-4, 4}}]PlotStyle (1)
data = Table[{{x, y, z}, {-y, z, x}}, {x, -1, 6}, {y, -2, 3}, {z, -1, 1}];ListVectorDisplacementPlot3D[data, PlotStyle -> None]将 Texture 应用于变形区域:
ListVectorDisplacementPlot3D[data, PlotStyle -> Texture[[image]]]ColorFunction 的优先级高于 PlotStyle:
ListVectorDisplacementPlot3D[data, ColorFunction -> None, PlotStyle -> Red]RegionBoundaryStyle (1)
data = Table[{{x, y, z}, {x y, z, x}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Cylinder[], RegionBoundaryStyle -> Directive[Red, Thick]]ListVectorDisplacementPlot3D[data, Cylinder[], RegionBoundaryStyle -> None]RegionFillingStyle (1)
data = Table[{{x, y, z}, {x y, z, x}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Cylinder[], RegionFillingStyle -> Red]ListVectorDisplacementPlot3D[data, Cylinder[], RegionFillingStyle -> None]RegionFunction (1)
使用 RegionFunction 指定参考区域:
data = Table[{{x, y, z}, {x^2 - y, y^2 - z, z^2 - x}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data, RegionFunction -> Function[{x, y, z, vx, vy, vz, n}, 1 ≤ x^2 + 2y^2 ≤ 4]]VectorAspectRatio (1)
data = Table[{{x, y, z}, {y, -x, z / 2}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary"]ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", VectorAspectRatio -> 1 / 8]VectorColorFunction (1)
默认情况下,如果 VectorColorFunction 为 Automatic,则 VectorColorFunction 匹配 ColorFunction:
data = Table[{{x, y, z}, {y, -x, z / 2}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", ColorFunction -> GrayLevel]指定不同于 ColorFunction 的 VectorColorFunction:
ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", ColorFunction -> GrayLevel, VectorColorFunction -> "Rainbow"]不使用 VectorColorFunction:
ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", VectorColorFunction -> None]VectorColorFunctionScaling (1)
data = Table[{{x, y, z}, {y, -x, z / 2}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", ColorFunction -> GrayLevel, VectorColorFunction -> "Rainbow", VectorColorFunctionScaling -> False]VectorMarkers (1)
data = Table[{{x, y, z}, {y, -x, z / 2}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data, VectorPoints -> Automatic]ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", VectorMarkers -> "Tube"]ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", VectorMarkers -> Placed["Arrow", "Center"]]VectorPoints (2)
data = Table[{{x, y, z}, {y, -x, z / 2}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data]ListVectorDisplacementPlot3D[data, VectorPoints -> Automatic]ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary"]{ListVectorDisplacementPlot3D[data, VectorPoints -> "Fine"],
ListVectorDisplacementPlot3D[data, VectorPoints -> "Coarse"]}{ListVectorDisplacementPlot3D[data, VectorPoints -> "Hexagonal"],
ListVectorDisplacementPlot3D[data, VectorPoints -> "FaceCenteredCubic"],
ListVectorDisplacementPlot3D[data, VectorPoints -> "Regular"]}ListVectorDisplacementPlot3D[data, VectorPoints -> 6]ListVectorDisplacementPlot3D[data, VectorPoints -> {6, 8, 3}]points = {{3, 3, 3}, {-3, 3, 3}, {-3, -3, 3}, {3, -3, 3}, {3, 3, -3}, {-3, 3, -3}, {-3, -3, -3}, {3, -3, -3}};ListVectorDisplacementPlot3D[data, VectorPoints -> points]data = Table[{{x, y, z}, {y, -x, z / 2}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data, HilbertCurve[2, 3], VectorPoints -> Automatic]VectorRange (1)
data = Table[{{x, y, z}, {y, -x, z / 2}}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}];ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", VectorRange -> {2, 3}]ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary", VectorRange -> {2, 3}, ClippingStyle -> Black]VectorScaling (1)
data = Table[{{x, y, z}, {Sin[y], Cos[3z], Sin[2x]}}, {x, 0, 1, 0.1}, {y, 0, 1, 0.1}, {z, 0, 1, 0.1}];ListVectorDisplacementPlot3D[data, Cuboid[], VectorPoints -> "Boundary"]ListVectorDisplacementPlot3D[data, Cuboid[], VectorPoints -> "Boundary", VectorScaling -> None]VectorSizes (1)
data = Table[{{x, y, z}, (RotationMatrix[π / 4, {0, 0, 1}] - IdentityMatrix[3]).{x, y, z}}, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}];ListVectorDisplacementPlot3D[data, Cuboid[{-2, -2, -2}, {2, 2, 2}], VectorPoints -> "Boundary"]ListVectorDisplacementPlot3D[data, Cuboid[{-2, -2, -2}, {2, 2, 2}], VectorPoints -> "Boundary", VectorSizes -> Full]ListVectorDisplacementPlot3D[data, Cuboid[{-2, -2, -2}, {2, 2, 2}], VectorPoints -> "Boundary", VectorSizes -> 2]ListVectorDisplacementPlot3D[data, Cuboid[{-2, -2, -2}, {2, 2, 2}], VectorSizes -> Full]VectorStyle (1)
VectorColorFunction 的优先级高于 VectorStyle:
data = Table[{{x, y, z}, {x^2 + y^2, x^2 - z^2, y + x}}, {x, -1, 1, 0.1}, {y, -1, 1, 0.1}, {z, -1, 1, 0.1}];ListVectorDisplacementPlot3D[data, Cone[], VectorPoints -> "Boundary", VectorColorFunction -> None, VectorStyle -> Red]应用 (14)
基本应用 (13)
data = Table[{{x, y, z}, {3, 2, 1}}, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}, {z, 0, 1, 0.2}];ListVectorDisplacementPlot3D[data]dataSmall = Table[{{x, y, z}, {0.3, 0.2, 0.1}}, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}, {z, 0, 1, 0.2}];
dataLarge = Table[{{x, y, z}, {300, 200, 100}}, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}, {z, 0, 1, 0.2}];{ListVectorDisplacementPlot3D[dataSmall], ListVectorDisplacementPlot3D[dataLarge]}使用 VectorSizesFull 显示位移的实际大小:
data = Table[{{x, y, z}, {3, 2, 1}}, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}, {z, 0, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]data = Table[{{x, y, z}, {3 - y, 2 + x, 1}}, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}, {z, 0, 1, 0.2}];ListVectorDisplacementPlot3D[data, PlotLegends -> Automatic]data = Table[{{x, y, z}, {{3 - y, 2 + x, 1}, x y z}}, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}, {z, 0, 1, 0.2}];ListVectorDisplacementPlot3D[data, PlotLegends -> Automatic]data = Table[{{x, y, z}, {3 - y, 2 + x, 1}}, {x, 0, 1, 0.2}, {y, 0, 1, 0.2}, {z, 0, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorPoints -> "Boundary"]data = Table[{{x, y, z}, (| | | |
| - | - | - |
| 2 | 0 | 0 |
| 0 | 0 | 0 |
| 0 | 0 | 0 |).{x, y, z}}, {x, -1, 1, 0.2}, {y, -1, 1, 0.2}, {z, -1, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]data = Table[{{x, y, z}, (| | | |
| ------ | - | - |
| -1 / 2 | 0 | 0 |
| 0 | 0 | 0 |
| 0 | 0 | 0 |).{x, y, z}}, {x, -1, 1, 0.2}, {y, -1, 1, 0.2}, {z, -1, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]data = Table[{{x, y, z}, (| | | |
| - | - | ------ |
| 1 | 0 | 0 |
| 0 | 2 | 0 |
| 0 | 0 | -1 / 2 |).{x, y, z}}, {x, -1, 1, 0.2}, {y, -1, 1, 0.2}, {z, -1, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]data = Table[{{x, y, z}, (| | | |
| - | - | - |
| 0 | 1 | 0 |
| 0 | 0 | 0 |
| 0 | 0 | 0 |).{x, y, z}}, {x, -1, 1, 0.2}, {y, -1, 1, 0.2}, {z, -1, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]data = Table[{{x, y, z}, (| | | |
| - | - | - |
| 0 | 0 | 1 |
| 0 | 0 | 0 |
| 0 | 0 | 0 |).{x, y, z}}, {x, -1, 1, 0.2}, {y, -1, 1, 0.2}, {z, -1, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]data = Table[{{x, y, z}, (| | | |
| - | - | - |
| 0 | 1 | 2 |
| 0 | 0 | 3 |
| 0 | 0 | 0 |).{x, y, z}}, {x, -1, 1, 0.2}, {y, -1, 1, 0.2}, {z, -1, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]data = Table[{{x, y, z}, (RotationMatrix[(π/6), {0, 0, 1}] - IdentityMatrix[3]).{x, y, z}}, {x, -1, 1, 0.2}, {y, -1, 1, 0.2}, {z, -1, 1, 0.2}];ListVectorDisplacementPlot3D[data, VectorSizes -> Full]固体力学 (1)
显示区域的
面是固定的(无位移),在
面沿
正方向施加 10 kPa 的均布载荷:
Ω = RegionDifference[Cuboid[{0, 0, 0}, {4, 4, 4}], Cuboid[{2, 0, 2}, {4, 2, 4}]];
Graphics3D[{Ω, Green, Table[If[y == 0 && z == 4, Nothing, Arrow[Tube[{{4, y, z}, {5, y, z}}]]], {y, 0, 4, 2}, {z, 0, 4, 2}]}, ImageSize -> Small, Axes -> True, AxesLabel -> {"x", "y", "z"}]从 {位置向量,位移向量} 形式的数值求解器获取数据,假设该区域是线弹性的:
data = IconizedObject[«PDE solution data»];可视化变形区域. 由于图中的位移被夸大了,使用图例来指示位移的实际大小:
ListVectorDisplacementPlot3D[data, Ω, PlotLegends -> Automatic, ColorFunction -> "Rainbow"]属性和关系 (8)
使用 ListVectorPlot 绘制数据:
data = Table[{-1 - x ^ 2 + y, 1 + x - y ^ 2}, {x, -3, 3, 0.2}, {y, -3, 3, 0.2}];ListVectorPlot[data]使用 StreamPlot 绘制流线而不是矢量:
StreamPlot[{-1 - x ^ 2 + y, 1 + x - y ^ 2}, {x, -3, 3}, {y, -3, 3}]使用 VectorDensityPlot 添加标量场的密度图:
VectorDensityPlot[{-1 - x ^ 2 + y, 1 + x - y ^ 2}, {x, -3, 3}, {y, -3, 3}]使用 ListVectorDensityPlot 用标量场的密度图绘制数据:
data = Table[{{x, y} = RandomReal[{-1.5, 1.5}, {2}], {{y, x - x ^ 3}, Abs[x + y]}}, {300}];ListVectorDensityPlot[data]使用 LineIntegralConvolutionPlot 绘制矢量场的线积分卷积:
LineIntegralConvolutionPlot[{-1 - x ^ 2 + y, 1 + x - y ^ 2}, {x, -3, 3}, {y, -3, 3}]使用 VectorPlot3D 和 StreamPlot3D 来可视化三维矢量场:
{VectorPlot3D[{z, x, x + y}, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}], StreamPlot3D[{z, x, x + y}, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}]}使用 SliceVectorPlot3D 在曲面上绘制矢量:
SliceVectorPlot3D[{-y, x, z}, Sphere[], {x, -1, 1}, {y, -1, 1}, {z, -1, 1}]ComplexVectorPlot[z + 1 / z, {z, 2}]相关指南
-
▪
- 向量可视化
文本
Wolfram Research (2021),ListVectorDisplacementPlot3D,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ListVectorDisplacementPlot3D.html.
CMS
Wolfram 语言. 2021. "ListVectorDisplacementPlot3D." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ListVectorDisplacementPlot3D.html.
APA
Wolfram 语言. (2021). ListVectorDisplacementPlot3D. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ListVectorDisplacementPlot3D.html 年
BibTeX
@misc{reference.wolfram_2026_listvectordisplacementplot3d, author="Wolfram Research", title="{ListVectorDisplacementPlot3D}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ListVectorDisplacementPlot3D.html}", note=[Accessed: 05-December-2026]}
BibLaTeX
@online{reference.wolfram_2026_listvectordisplacementplot3d, organization={Wolfram Research}, title={ListVectorDisplacementPlot3D}, year={2021}, url={https://reference.wolfram.com/language/ref/ListVectorDisplacementPlot3D.html}, note=[Accessed: 05-December-2026]}