Mappe dei colori
Le mappe dei colori definiscono lo schema di colori per molti tipi di visualizzazioni, come superfici e macchie. Le barre dei colori illustrano la relazione tra i colori della mappa dei colori e i dati. Le mappe dei colori sono array a tre colonne contenenti triplette RGB in cui ogni riga definisce un colore distinto. La corrispondenza tra i colori e i valori dei dati dipende dal tipo di visualizzazione creata. È possibile personalizzare questa corrispondenza o lasciare che sia MATLAB® a controllarla. Per maggiori informazioni, vedere Change Color Scheme Using a Colormap.
Funzioni
Proprietà
ColorBar Properties | Colorbar appearance and behavior |
Argomenti
- Creating Colorbars
Add a colorbar to your chart and customize its appearance.
- Change Color Scheme Using a Colormap
Switch between different predefined colormaps, or create a custom colormap.
- How Surface Plot Data Relates to a Colormap
Change the relationship between surface plot data and the colormap.
- How Image Data Relates to a Colormap
Control how pixel values map to the colormap.
- How Patch Data Relates to a Colormap
Control the relationship between patches and the colormap.
- Control Colormap Limits
Set the limits for scaling your data to a colormap.
- Differences Between Colormaps and Truecolor
Decide whether to use a colormap or truecolor in your visualizations.