Main Content

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

Propriétés des objets graphiques

Afficher et définir les propriétés des objets graphiques ainsi que les valeurs par défaut

Vous pouvez contrôler le comportement et l’apparence d’un objet graphique particulier en définissant ses propriétés. Pour ce faire, renvoyez l’objet en tant qu’argument de sortie de la fonction qui le crée. Par exemple, la fonction plot renvoie un objet de type ligne de graphique. Utilisez ensuite la notation à point pour afficher et définir les propriétés.

p = plot(1:10,1:10);
p.LineWidth = 3; 
Vous pouvez également définir les propriétés avec des arguments nom-valeur lors de la création de l’objet, par exemple plot(1:10,1:10,'LineWidth',3). La plupart des fonctions de tracé supportent les arguments nom-valeur.

Propriétés

développer tout

Root PropertiesGraphics environment and state information
Figure PropertiesControl appearance and behavior of figure window
Axes Properties Axes appearance and behavior
PolarAxes PropertiesPolar axes appearance and behavior
GeographicAxes PropertiesControl geographic axes appearance and behavior
TiledChartLayout PropertiesTiled chart layout appearance and behavior (depuis R2019b)
Area PropertiesArea chart appearance and behavior
Bar PropertiesBar chart appearance and behavior
BoxChart PropertiesControl box chart appearance and behavior (depuis R2020a)
BubbleChart PropertiesBubble chart appearance and behavior (depuis R2020b)
BubbleCloud PropertiesBubble cloud appearance and behavior (depuis R2021a)
Contour PropertiesContour chart appearance and behavior
ErrorBar PropertiesError bar chart appearance and behavior
GeographicBubbleChart PropertiesControl geographic bubble chart appearance and behavior
HeatmapChart PropertiesHeatmap chart appearance and behavior
Line PropertiesChart line appearance and behavior
ParallelCoordinatesPlot PropertiesControl parallel coordinates plot appearance and behavior (depuis R2019a)
Quiver PropertiesQuiver chart appearance and behavior
Scatter PropertiesScatter chart appearance and behavior
ScatterHistogramChart PropertiesControl scatter histogram chart appearance and behavior
StackedAxesProperties PropertiesAppearance and behavior of individual axes in stacked plot
StackedLineChart PropertiesStacked plot appearance and behavior
StackedLineProperties PropertiesAppearance and behavior of individual lines in stacked plot
Stair PropertiesStair chart appearance and behavior
Stem PropertiesStem chart appearance and behavior
Surface PropertiesChart surface appearance and behavior
WordCloudChart PropertiesControl word cloud chart appearance and behavior
AnimatedLine PropertiesLine animation appearance and behavior
Image PropertiesImage appearance and behavior
Light PropertiesLight appearance and behavior
Line PropertiesPrimitive line appearance and behavior
Patch PropertiesPatch appearance and behavior
Polygon PropertiesPolygon appearance and behavior
Rectangle PropertiesRectangle appearance and behavior
Surface PropertiesPrimitive surface appearance and behavior
Text PropertiesAxes text appearance and behavior
FunctionLine PropertiesLine chart appearance and behavior
ImplicitFunctionLine PropertiesImplicit line chart appearance and behavior
ParameterizedFunctionLine PropertiesParameterized line chart appearance and behavior
FunctionContour PropertiesFunction contour chart appearance and behavior
FunctionSurface PropertiesSurface chart appearance and behavior
ImplicitFunctionSurface PropertiesImplicit surface chart appearance and behavior
ParameterizedFunctionSurface PropertiesParameterized surface chart appearance and behavior
Group PropertiesGroup object appearance and behavior
Transform PropertiesTransform object appearance and behavior
ColorBar PropertiesColorbar appearance and behavior
Legend PropertiesLegend appearance and behavior
BubbleLegend PropertiesBubble legend appearance and behavior (depuis R2020b)
CategoricalRuler PropertiesControl axis with categorical values
DatetimeRuler PropertiesControl axis with datetime values
DurationRuler PropertiesControl axis with duration values
NumericRuler PropertiesControl axis with numeric values
GeographicRuler PropertiesControl axis with geographic values (depuis R2019a)
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

Fonctions

getQuery graphics object properties
setSet graphics object properties
resetReset graphics object properties
Property InspectorOpen property inspector

Rubriques