streamribbon
3-D stream ribbon plot from vector volume data
Syntax
StreamRibbon(X,Y,Z,U,V,W,Startx,Starty,Startz)
StreamRibbon(U,V,W,Startx,Starty,Startz)
streamribbon(vertices,X,Y,Z,cav,speed)
streamribbon(vertices,cav,speed)
streamribbon(vertices,twistangle)
streamribbon(...,width)
streamribbon(axes_handle,...)
h = streamribbon(...)
Description
StreamRibbon(X,Y,Z,U,V,W,Startx,Starty,Startz)
从矢量卷数据中绘制流丝带U
,V
,W
.
The arraysX
,Y
, 和Z
,定义坐标U
,V
, 和W
,必须是单调的,但不需要均匀间隔。X
,Y
, 和Z
必须具有相同数量的元素,就好像由meshgrid
.
startx
,starty
, 和startz
define the starting positions of the stream ribbons at the center of the ribbons. The sectionSpecifying Starting Points for Stream Plots提供有关定义起点的更多信息。
The twist of the ribbons is proportional to the curl of the vector field. The width of the ribbons is calculated automatically.
StreamRibbon(U,V,W,Startx,Starty,Startz)
assumesX
,Y
, 和Z
由表达确定
[X,Y,Z] = meshgrid(1:n,1:m,1:p)
where[m,n,p] = size(U)
.
streamribbon(vertices,X,Y,Z,cav,speed)
assumes precomputed streamline vertices, curl angular velocity, and flow speed.vertices
是流线顶点的单元格数(如stream3
).X
,Y
,Z
,骑士
, 和speed
are 3-D arrays.
streamribbon(vertices,cav,speed)
assumesX
,Y
, 和Z
由表达确定
[X,Y,Z] = meshgrid(1:n,1:m,1:p)
where[m,n,p] = size(cav)
.
streamribbon(vertices,twistangle)
uses the cell array of vectorstwistangle
for the twist of the ribbons (in radians). The size of each corresponding element ofvertices
和twistangle
must be equal.
streamribbon(...,width)
sets the width of the ribbons towidth
.
streamribbon(axes_handle,...)
绘制带有手柄的轴对象axes_handle
instead of into the current axes object (gca
).
h = streamribbon(...)
returns a vector of handles (one per start point) tosurface
objects.