Main Content

La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.

Étiquettes et annotations

Ajouter des titres, des étiquettes d’axe, des textes informatifs et d’autres annotations sur les graphiques

Ajoutez un titre, labélisez les axes ou ajoutez des annotations à un graphique pour faciliter la transmission d’informations importantes. Vous pouvez créer une légende pour labéliser les séries de données tracées ou ajouter un texte descriptif à côté des points de données. Vous pouvez également créer des annotations telles que des rectangles, des ellipses, des flèches ou des lignes verticales ou horizontales qui mettent en évidence des zones de données spécifiques.

Fonctions

développer tout

titleAdd title
subtitleAdd subtitle to plot (depuis R2020b)
sgtitleAdd title to grid of plots
xlabelLabel x-axis
ylabelLabel y-axis
zlabelLabel z-axis
fontnameChange font name for objects in a figure (depuis R2022a)
fontsizeChange font size for objects in a figure (depuis R2022a)
legendAdd legend to axes
bubblelegendCreate legend for bubble chart (depuis R2020b)
textAdd text descriptions to data points
gtextAdd text to figure using mouse
xlineVertical line with constant x-value
ylineHorizontal line with constant y-value
xregion1-D filled region between x-coordinates (depuis R2023a)
yregion1-D filled region between y-coordinates (depuis R2023a)
annotationCreate annotations
datatipCreate data tip (depuis R2019b)
lineCreate primitive line
rectangleCreate rectangle with sharp or curved corners
texlabelFormat text with TeX characters
ginputIdentify axes coordinates

Propriétés

développer tout

Text PropertiesAxes text appearance and behavior
Text PropertiesText appearance and behavior for grid of plots
Text PropertiesTiled chart layout text appearance and behavior (depuis R2019b)
Legend PropertiesLegend appearance and behavior
BubbleLegend PropertiesBubble legend appearance and behavior (depuis R2020b)
ConstantLine PropertiesConstant line appearance and behavior
ConstantRegion PropertiesConstant region appearance and behavior (depuis R2023a)
Arrow PropertiesArrow appearance and behavior
DoubleEndArrow PropertiesDouble end arrow appearance and behavior
Ellipse PropertiesEllipse appearance and behavior
Line PropertiesAnnotation line appearance and behavior
Rectangle PropertiesAnnotation rectangle appearance and behavior
TextArrow PropertiesText arrow appearance and behavior
TextBox PropertiesText box appearance and behavior
Line PropertiesPrimitive line appearance and behavior
Rectangle PropertiesRectangle appearance and behavior

Rubriques