绘图隐式函数
fimplicit((F)
fimplicit(f,间隔)
fimplicic(斧头,___)
fimplicit((___,linesPec)
fimplicit((___,,,,名称,价值)
fp= fimplicit(___)
fimplicit((
绘制由F
f(x,y)= 0
[-5 5]
X
y
fimplicit((
specifies the plotting interval forF
间隔
X
y
fimplicit((
图到指定的轴斧头
斧头
fimplicit((
specifies the line style, marker symbol, and line color. For example,LineSpec
)'-r'
fimplicit((
使用一个或多个名称值对参数指定行属性。例如,名称,价值
'LineWidth',2
specifies a line width of 2 points.
返回fp
隐式函数
fp
Plot the hyperbola described by the function默认间隔oF[-5 5]
fimplitic(@(x,y)x。^2 -y。^2-1)
绘制功能[-3 0]
为了X
[-2 2]
为了y
f = @(x,y)x。^2 + y。^2-3;fimplicit(f,[-3 0 -2 2])
绘制两个以上为中心的圆圈((0,0)
具有不同的半径值。对于第一个圆圈,请使用一条虚线的红线。对于第二个圆圈,请使用一条虚线的绿线,线宽为2点。f1 = @(x,y)x。^2 + y。^2-1;fimplicit(f1,
绘制隐式函数 采用fp
fp= fimplicit(@(x,y) y.*sin(x) + x.*cos(y) - 1)
fp =带有属性的隐范:函数: @(x,y)y。*sin(x)+x。
fp
fp.Color =
F-隐式函数绘制
功能句柄
隐式函数绘制,,,,specified as a function handle to a named or anonymous function.
指定表单的函数 Example:z = f(x,y)
。该函数必须接受两个矩阵输入参数,并返回相同大小的矩阵输出参数。使用数组操作员代替矩阵运算符,以获得最佳性能。例如,使用。*
时代
m时代
fimplicit((@(x,y) x.^2 - y.^2 + 1)
间隔-Plotting interval forX和y
[-5 5]
((default) |两元素向量|四元素向量
Plotting interval forX
y
Two-element vector of the form[min max]
-采用the same plotting interval of[min max]
对彼此而言X
y
表格的四元素向量[xmin xmax ymin ymax]
- 使用不同的绘图间隔X
y
[Xmin Xmax]
X
[ymin ymax]
为了y
Example:fimplicit(f,[-2 3 -5 0])
LineSpec
-线样式,标记符号和颜色,,,,specified as a character vector or string containing symbols. The symbols can appear in any order. You do not need to specify all three characteristics (line style, marker symbol, and color). For example, if you omit the line style and specify the marker, then the plot shows only the markers and no line.
Example:fimplicit(f,' - 或')
线样式 Description
-
实线(默认)
- -
虚线
:
虚线
- 。
破折号线
标记 Description
o
圆圈
+
Plus sign
*
星号
。
观点
X
Cross
s
正方形
d
钻石
^
向上的三角形
v
Downward-pointing triangle
>
右点三角形
<
Left-pointing triangle
p
Pentagram
H
hexagram
颜色 Description
y
黄色的
m
品红
C
Cyan
r
红色的
G
Green
b
蓝色的
w
wHite
k
black
斧头-轴对象
斧头es object
轴对象。如果您不指定轴,则fimplicit
指定可选的逗号分隔对名称,价值
Name
是参数名称和价值
Name
必须出现在单引号中(' '
)。You can specify several name and value pair arguments in any order asName1,Value1,...,NameN,ValueN
。fimplicit((F,,,,“网状密度”,,,,50,'LineWidth',2)
specifies the number of evaluation points and the line width.
这 每个方向评估点的数量,指定为标量。 Line color, specified as an RGB triplet or one of the color options listed in the table. For a custom color, specify an RGB triplet. An RGB triplet is a three-element row vector whose elements specify the intensities of the red, green, and blue components of the color. The intensities must be in the range Example: Example: 线样式,指定为此表中列出的行样式之一。 Line width, specified as a positive value in points. If the line has markers, then the line width also affects the marker edges. Example: 标记符号,指定为此表中列出的标记之一。默认情况下,该行没有标记。指定标记符号会在沿线的选定点添加标记。 Example: Example: 标记大小,指定为点的正值。 Example: 大纲标志颜色,,,,specified as For a custom color, specify an RGB triplet. An RGB triplet is a three-element row vector whose elements specify the intensities of the red, green, and blue components of the color. The intensities must be in the range Example: Example: 标记填充颜色,,,,specified as For a custom color, specify an RGB triplet. An RGB triplet is a three-element row vector whose elements specify the intensities of the red, green, and blue components of the color. The intensities must be in the range Example: Example:隐式函数
“网状密度”
151
((default) |sCalar'Color'
-[0 0 1]
((default) |RGB triplet|'r'
'g'
'b'
|。。。[0,1]
[0.4 0.6 0.7]
选项 Description
Equivalent RGB Triplet
'红色的'
'r'
红色的 [1 0 0]
'绿色'
'g'
Green
[0 1 0]
'blue'
或者'b'
蓝色的 [0 0 1]
'yellow'
或者'y'
黄色的 [1 1 0]
'magenta'
或者'm'
品红 [1 0 1]
'青色'
'c'
Cyan
[0 1 1]
'白色的'
'W'
白色的 [1 1 1]
'black'
或者'k'
黑色的 [0 0 0]
'没有任何'
不Color
不适用 'blue'
[0 0 1]
'LineStyle'
-' - '
((default) |' - '
|':'
' - 。'
'没有任何'
线样式 Description
Resulting Line
' - '
Solid line
' - '
虚线
':'
虚线
' - 。'
破折号线
'没有任何'
不line
不line
'LineWidth'
-0.5
((default) |正值0.75
“标记”
'没有任何'
((default) |'o'
|'+'
'*'
'。'
'X'
。。。
价值 Description
'o'
圆圈
'+'
Plus sign
'*'
星号
'。'
观点
'X'
Cross
'square'
或者'
正方形
'diamond'
或者'd'
钻石
'^'
向上的三角形
'v'
Downward-pointing triangle
'>'
右点三角形
'<'
Left-pointing triangle
'pentagram'
或者'P'
五点星(Pentagram)
'hexagram'
'h'
六点明星(Hexagram)
'没有任何'
没有标记 '+'
'diamond'
“标记”
6
((default) |正值10
'MarkerEdgeColor'
-'汽车'
((default) |RGB triplet|'r'
'g'
'b'
|。。。'汽车'
'汽车'
颜色
[0,1]
[0.4 0.6 0.7]
选项 Description
Equivalent RGB Triplet
'红色的'
'r'
红色的 [1 0 0]
'绿色'
'g'
Green
[0 1 0]
'blue'
或者'b'
蓝色的 [0 0 1]
'yellow'
或者'y'
黄色的 [1 1 0]
'magenta'
或者'm'
品红 [1 0 1]
'青色'
'c'
Cyan
[0 1 1]
'白色的'
'W'
白色的 [1 1 1]
'black'
或者'k'
黑色的 [0 0 0]
'没有任何'
不Color
不适用 [0.5 0.5 0.5]
'blue'
“ MarkerfaceColor”
'没有任何'
((default) |'汽车'
|'r'
'g'
|'b'
|。。。'汽车'
'汽车'
标记EdgeColor
财产。[0,1]
[0.4 0.6 0.7]
选项 Description
Equivalent RGB Triplet
'红色的'
'r'
红色的 [1 0 0]
'绿色'
'g'
Green
[0 1 0]
'blue'
或者'b'
蓝色的 [0 0 1]
'yellow'
或者'y'
黄色的 [1 1 0]
'magenta'
或者'm'
品红 [1 0 1]
'青色'
'c'
Cyan
[0 1 1]
'白色的'
'W'
白色的 [1 1 1]
'black'
或者'k'
黑色的 [0 0 0]
'没有任何'
不Color
不适用 [0.3 0.2 0.1]
'绿色'
采用element-wise operators for the best performance and to avoid a warning message. For example, useX。*y
x*y
当您放大图表时,fimplicit
您单击了与此MATLAB命令相对应的链接: Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:。
您还可以从以下列表中选择一个网站: 选择中国网站(中文或英语)以获得最佳场地性能。其他Mathworks乡村网站未针对您所在的访问进行优化。How to Get Best Site Performance
欧洲