plot(metrics,type,Name=Value)
specifies options using one or more name-value arguments. For example,
LineColor="r" plots the specified metric type with a red
line.
type — Type of metric to plot "cmc" | "cmc-per-object" | "precision-recall"
Type of metric to plot, specified as one of these options:
"cmc" — Cumulative matching
characteristic (CMC) curve over the entire data set
"cmc-per-object" —
Cumulative matching characteristic (CMC) curve per object
class
"precision-recall" —
Precision-recall curve
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN, where Name is
the argument name and Value is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Example: plot(metrics,"precision-recall",LineColor="r") plots
the precision-recall curve with a red line.
ShowLegend — Option to display legend true or 1 | false or 0
Option to display legend, specified as a numeric or logical
1 (true) or
0 (false). If you specify the
plot type as "cmc-per-object" and
there are 10 or fewer object classes,
ShowLegend is
true by default and the plot
object function displays the legend.
Parent — Figure axes gca (default) | Axes object
Figure axes, specified as an Axes object.
LineColor — Plot line color [0 0 0] (default) | short or long color name | RGB triplet | three-column matrix of RGB triplets
Plot line color, specified as one or more 1-by-3 RGB triplets, or a
long or short color name. If you specify the plot type as "cmc-per-object", you can specify a
different color for each line by using a matrix in which each row is an
RGB triplet. To specify one color for all lines, specify
LineColor as a color name or a single RGB
triplet.
LineWidth — Plot line width 2 (default) | positive integer
Plot line width, in pixels, specified as a positive integer.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
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: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.