Fmesh
阴谋3-D mesh
句法
Description
Fmesh(<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-f" class="intrnllnk">
creates a mesh plot of the symbolic expressionF
)F(x,y)
默认间隔[-5 5]
为了X
一种ndy
。
Fmesh(<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-f" class="intrnllnk">
plotsF
,,,,<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-minmax" class="intrnllnk">[min max]
)F(x,y)
超过tHe一世nterv一种l[min max]
为了X
一种ndy
。
Fmesh(<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-f" class="intrnllnk">
plotsF
,,,,<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-xminxmaxyminymax" class="intrnllnk">[xmin xmax ymin ymax]
)F(x,y)
超过tHe一世nterv一种l[Xmin Xmax]
为了X
一种nd[ymin ymax]
为了y
。这Fmesh
F你nction usesSymvar
to order the variables and assign intervals.
Fmesh(<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-funxfunyfunz" class="intrnllnk">
绘制参数网格Funx,Funy,Funz
)X=X((你,,,,v)
,,,,y=y((你,,,,v)
,,,,z=z((你,,,,v)
超过tHe一世nterv一种l[-5 5]
为了你
一种ndv
。
Fmesh(<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-funxfunyfunz" class="intrnllnk">
绘制参数网格Funx,Funy,Funz
,,,,<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-uvminuvmax" class="intrnllnk">[uvmin uvmax]
)X=X((你,,,,v)
,,,,y=y((你,,,,v)
,,,,z=z((你,,,,v)
超过tHe一世nterv一种l[uvmin uvmax]
为了你
一种ndv
。
Fmesh(<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-funxfunyfunz" class="intrnllnk">
绘制参数网格Funx,Funy,Funz
,,,,<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-uminumaxvminvmax" class="intrnllnk">[UMIN UMAX VMIN VMAX]
)X=X((你,,,,v)
,,,,y=y((你,,,,v)
,,,,z=z((你,,,,v)
超过tHe一世nterv一种l[Umin Umax]
为了你
一种nd[vmin vmax]
为了v
。这Fmesh
F你nction usesSymvar
to order the parametric variables and assign intervals.
Fmesh(___,,,,<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv_sep_mw_3a76f056-2882-44d7-8e73-c695c0c54ca8" class="intrnllnk">
你sestHeLineSpec
)LineSpec
设置行样式,标记符号和情节颜色。
Fmesh(___,,,,<一种HreF="#namevaluepairarguments" class="intrnllnk">
使用一个或多个指定表面特性名称,价值
)名称,价值
配对参数。将此选项与上一个语法中的任何输入参数组合一起使用。
Fmesh(<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-ax" class="intrnllnk">
plots into the axes with the object斧头
,,,,___)斧头
而不是当前轴对象gca
。
ret你rns一种F你nction surface object or a parameterized function surface object. Use the object to query and modify properties of a specific mesh.OBJ
=Fmesh(___)
Examples
Additional Examples: Seefsurf
Page
笔记
For additional examples, follow the<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/fsurf.html">fsurf
page becauseFmesh
一种ndfsurf
共享相同的语法。所有示例fsurf
页面申请Fmesh
。
3-D Mesh Plot of Symbolic Expression
阴谋一种mesh of the input 超过tHedefault range 一种nd 。
symsXyfmesh(sin(x)+cos(y))
3-D Mesh Plot of Symbolic Function
绘制一个实际部分的3-D网格 超过tHedefault range 一种nd 。
symsF(x,y)F(x,y)=re一种l(atan(x + i*y)); fmesh(f)
Specify Plotting Interval of Mesh Plot
阴谋
超过
一种nd
通过将绘图间隔指定为第二个参数Fmesh
。
symsXyF=罪((X)+cos((y); fmesh(f, [-pi pi -5 5])
参数化网格图
阴谋tHeparameterized mesh
为了
一种nd
。Make the aspect ratio of the axes equal using斧头一世sequal
。See the entire mesh by making the mesh partially transparent usingα
。
symsstr=8+罪((7*s + 5*t); x = r*cos(s)*sin(t); y = r*sin(s)*sin(t); z = r*cos(t); fmesh(x, y, z, [0 2*pi 0 pi],'行宽',,,,2)斧头一世sequalα((0。8)
Additional Examples: Seefsurf
Page
笔记
For additional examples, follow the<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/fsurf.html">fsurf
page becauseFmesh
一种ndfsurf
共享相同的语法。所有示例fsurf
页面申请Fmesh
。
输入参数
Output Arguments
算法
Fmesh
分配符号变量<一种HreF="//www.tianjin-qmedu.com/au/help/symbolic/#bu008tv-f" class="intrnllnk">F
到X
斧头一世s,,,,tHentHey
轴,和<一种HreF="https://au.mathworks.com/help/symbolic/symvar.html">Symvar
确定要分配的变量的顺序。因此,变量和轴名可能无法对应。强迫Fmesh
分配Xoryto its corresponding axis, create the symbolic function to plot, then pass the symbolic function toFmesh
。
例如,以下代码绘制了网格F((X,,,,y)=罪((y)通过两种方式。第一种方式迫使海浪相对于y斧头一世s。这second way assignsy到X斧头一世sbecause it is the first (and only) variable in the symbolic function.
symsXy; f(x,y) = sin(y); figure; subplot(2,1,1) fmesh(f); subplot(2,1,2) fmesh(f(x,y));%或fmesh(sin(y));