Class: NonLinearModel
Plot diagnostics of nonlinear regression model
plotDiagnostics(mdl)
plotDiagnostics(mdl,plottype)
h = plotDiagnostics(...)
h = plotDiagnostics(mdl,plottype,Name,Value)
plotDiagnostics(
plots
diagnostics from the mdl
)mdl
linear model using leverage
as the plot type.
plotDiagnostics(
plots
diagnostics in a plot of type mdl
,plottype
)plottype
.
returns
handles to the lines in the plot.h
= plotDiagnostics(...)
plots
with additional options specified by one or more h
= plotDiagnostics(mdl
,plottype
,Name,Value
)Name,Value
pair
arguments.
|
Nonlinear regression model, constructed by | ||||||
|
Character vector or string scalar specifying the type of plot:
Default: |
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
Note
The plot property name-value pairs apply to the first returned
handle h(1)
.
|
Color of the line or marker, specified as an RGB triplet, hexadecimal color code, color name, or short name for one of the color options listed in the following table. 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.
Here are the RGB triplets and hexadecimal color codes for the default colors MATLAB® uses in many types of plots.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Type of line, a Line Properties specification. For details, see | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Width of the line or edges of filled area, in points, a positive scalar. One point is 1/72 inch. Default: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Marker outline color, specified as an RGB triplet, hexadecimal color code, color name, or
short name for one of the color options listed in the | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fill color for filled markers, specified as an RGB triplet, hexadecimal color code, color
name, or short name for one of the color options listed in the
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Size of the marker in points, a strictly positive scalar. One point is 1/72 inch. |
|
Vector of handles to lines or patches in the plot. |
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 the x-axis and y-axis values for the selected point, along with the observation name or number.
[1] Neter, J., M. H. Kutner, C. J. Nachtsheim, and W. Wasserman. Applied Linear Statistical Models, Fourth Edition. Irwin, Chicago, 1996.