情节
Class:NonLinearModel
Plot residuals of nonlinear regression model
Syntax
情节(mdl)
绘图(MDL,PlotType)
绘图(MDL,plottype,name,value)
h = plotResiduals(___)
描述
情节(
创建非线性回归模型的直方图图(mdl
)mdl
) residuals.
情节(
specifies the residual plot typemdl
,plottype
)plottype
.
情节(
使用一个或多个名称值参数指定其他选项。例如,您可以指定残差数据点的残差类型和图形属性。mdl
,plottype
,姓名,Value
)
returns graphics objects for the lines or patch in the plot using any of the input argument combinations in the previous syntaxes. Useh
=绘图(___)h
在创建绘图后修改特定行或补丁的属性。有关属性列表,请参见线属性and补丁属性.
Input Arguments
|
非线性回归模型,由 |
||||||||||||
|
字符向量或字符串标量指定图的类型:
Default: |
姓名-Value Arguments
Specify optional pairs of arguments asname1 = value1,...,namen = valuen
, 在哪里姓名
is the argument name andValue
是相应的值。名称值参数必须在其他参数之后出现,但是对的顺序并不重要。
在R2021a之前,请使用逗号分隔每个名称和值,并附上姓名
用引号。
Note
The graphical properties listed here are only a subset. For a complete list, see线属性for lines and补丁属性for histogram. The specified properties apply to the appearance of residual data points or the appearance of the histogram.
|
线或标记的颜色,指定为RGB三重态,十六进制的颜色代码,颜色名称或下表中列出的颜色选项之一的简称。 For a custom color, specify an RGB triplet or a hexadecimal color code.
Alternatively, you can specify some common colors by name. This table lists the named color options, the equivalent RGB triplets, and hexadecimal color codes.
这是RGB三胞胎和默认颜色的十六进制颜色代码matlab®在许多类型的图中使用。
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
填充区域的线的宽度或边缘,点为正标量。一个点是1/72英寸。 Default: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
标记符号,指定为该表中的值之一。
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
标记概述颜色,指定为RGB三重态,十六进制颜色代码,颜色名称或短名称,用于列出的颜色选项之一 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
填充填充标记的颜色,指定为RGB三胞胎,十六进制的颜色代码,颜色名称或短名称,用于列出的颜色选项之一 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Size of the marker in points, a strictly positive scalar. One point is 1/72 inch. |
|
Type of residual used in the plot:
Default: |
输出参数
|
图形对象对应于绘图中的线或补丁,返回为图形数组。使用点符号查询图形对象的属性并设置属性。有关详细信息,请参阅线属性and补丁属性. You can use name-value arguments to specify the appearance of residual data points or the appearance of the histogram, corresponding to the first graphics object |
例子
尖端
The data cursor displays the values of the selected plot point in a data tip (small text box located next to the data point). The data tip includes thex-axis andy-axis values for the selected point, along with the observation name or number.