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.
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.
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.
Figure axes, specified as an Axes object.
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.
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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.