Aspetto degli assi
Modificare i limiti degli assi e i valori di spunta, aggiungere le linee alla griglia, abbinare più grafici
È possibile personalizzare gli assi modificando i limiti, controllando la posizione dei segni di spunta, formattando le etichette di spunta o aggiungendo linee alla griglia. È inoltre possibile abbinare più grafici, sia utilizzando assi separati nella stessa figura, sia abbinando i grafici negli stessi assi, con l'opzione di aggiungere un secondo asse y.
Funzioni
Proprietà
Axes Properties | Axes appearance and behavior |
Legend Properties | Legend appearance and behavior |
TiledChartLayout Properties | Tiled chart layout appearance and behavior (Da R2019b) |
Argomenti
Limiti, spunte e griglie
- Definizione dei limiti dell'asse
Controllare la posizione in cui i dati vengono visualizzati sugli assi impostando i limiti dell'asse. - Definizione dei valori e delle etichette delle tacche sugli assi
Personalizzare i valori e le etichette delle tacche lungo un asse, ad esempio modificando la posizione del valore delle tacche o il testo e la formattazione dell'etichetta delle tacche. - 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.
Grafici multipli
- Abbinamento di più grafici
Mostrare più grafici insieme nella stessa figura, abbinando i grafici sugli stessi assi o creando un layout a piastrelle di un grafico. (Da R2019b) - Creazione di un grafico con due assi y
Creare un grafico con assi y sia sul lato sinistro che sul lato destro. - 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.
Dimensione e rapporto di aspetto
- 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.