La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.
Apparence des axes
Modifier les limites des axes et les valeurs de graduation, ajouter une grille et combiner plusieurs tracés
Vous pouvez personnaliser les axes en modifiant les limites, en contrôlant l’emplacement des graduations, en formatant les étiquettes de graduation ou en ajoutant des grilles. Vous pouvez également combiner plusieurs tracés en utilisant plusieurs axes distincts dans la même figure ou en combinant les tracés sur les mêmes axes avec la possibilité d’ajouter un second axe y.
Fonctions
Propriétés
Axes Properties | Axes appearance and behavior |
Legend Properties | Legend appearance and behavior |
TiledChartLayout Properties | Tiled chart layout appearance and behavior (depuis R2019b) |
Rubriques
Limites, graduations et grilles
- Spécifier les limites d’axe
Contrôler l’emplacement des données sur les axes en définissant les limites d’axe. - Specify Axis Tick Values and Labels
Customize the tick values and labels along an axis, such as editing the tick value placement or modifying the tick label text and formatting. - Add Grid Lines and Edit Placement
Add grid lines to a graph and modify their placement and appearance. - Using Graphics Smoothing
This example shows how to use graphics and font smoothing in your plots.
Plusieurs tracés
- Combine Multiple Plots
Show multiple plots together in the same figure, either by combining the plots in the same axes or by creating a tiled chart layout. - Create Chart with Two y-Axes
Create a chart with y-axes on both the left and right sides. - Modify Properties of Charts with Two y-Axes
Modify charts with two y-axes by setting axes properties or by accessing the underlying ruler objects. - Display Data with Multiple Scales and Axes Limits
Learn about techniques for visualizing data with multiple x- and y-axes, multiple colorbars, or with an x-axis that is broken into intervals. - Customized Presentations and Special Effects with Tiled Chart Layouts
Explore the different ways you can use a tiled chart layout to arrange the elements in a visualization.
Taille et ratio d'aspect (hauteur/largeur)
- Control Ratio of Axis Lengths and Data Unit Lengths
Control the axis and data unit lengths by setting the plot box aspect ratio and the data aspect ratio. - Control Axes Layout
Control the axes size and position, the layout of titles and labels, and the axes resize behavior. - Clipping in Plots and Graphs
This example shows how MATLAB® uses clipping in plots and how to control clipping.