Trace plot of lasso fit
lassoPlot(B)
lassoPlot(B,FitInfo)
lassoPlot(B,FitInfo,Name,Value)
[ax,figh]
= lassoPlot(___)
lassoPlot(
creates
a trace plot of the values in B
)B
against the L^{1} norm
of B
.
lassoPlot(
creates
a plot with type depending on the data type of B
,FitInfo
)FitInfo
and
the value, if any, of the PlotType
namevalue
pair.
lassoPlot(
creates
a plot with additional options specified by one or more B
,FitInfo
,Name,Value
)Name,Value
pair
arguments.
[
, for any previous input syntax,
returns a handle ax
,figh
]
= lassoPlot(___)ax
to the plot axis, and a handle figh
to
the figure window.

Coefficients of a sequence of regression fits, as returned from
the 

Information controlling the plot: 
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
.

Axis in which to draw the plot. Default: New plot  

Plot type when you specify a
If you include a crossvalidated
Default:  

Cell array of character vectors to label each coefficient of
For an example, see Lasso Plot with Coefficients Labeled. Default:  

Default: 

Handle to the axis of the plot (see Axes Appearance (MATLAB)). 

Handle to the figure window (see Special Object Identifiers (MATLAB)). 