plotResiduals(mdl)
plotResiduals(mdl,plottype)
h = plotResiduals(...)
h = plotResiduals(mdl,plottype,Name,Value)
plotResiduals(
gives
a histogram plot of the residuals of the mdl
)mdl
nonlinear
model.
plotResiduals(
plots
residuals in a plot of type mdl
,plottype
)plottype
.
returns
handles to the lines in the plot.h
= plotResiduals(...)
plots
with additional options specified by one or more h
= plotResiduals(mdl
,plottype
,Name,Value
)Name,Value
pair
arguments.
For many plots, the Data Cursor tool in the figure window displays the x and y values for any data point, along with the observation name or number.

Generalized linear model, as constructed by  

Character vector specifying the type of plot:
Default: 
Specify optional commaseparated pairs of Name,Value
arguments.
Name
is the argument
name and Value
is the corresponding
value. Name
must appear
inside single quotes (' '
).
You can specify several name and value pair
arguments in any order as Name1,Value1,...,NameN,ValueN
.
Note:
The plot property namevalue pairs apply to the first returned
handle 

Color of the line or marker, a 

Type of line, a Chart
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: 

Color of the marker or edge color for filled markers, a 

Color of the marker face for filled markers, a 

Size of the marker in points, a strictly positive scalar. One point is 1/72 inch. 

Type of residual used in the plot.
Default: 

Vector of handles to lines or patches in the plot. 
Deviance is twice the log likelihood of the model. Because this overall log likelihood is a sum of log likelihoods for each observation, the residual plot of deviance type shows the log likelihood per observation.