mlc (Matlab Colors)

Version 1.0.0 (1,13 ko) par Jonah Pearl
Get the RGB values for the default MATLAB colors
8 téléchargements
Mise à jour 22 juil. 2020

Afficher la licence

Get the RGB values for the default MATLAB colors.
Input: mlc(x), where x is a 1xn or nx1 vector of integers from 1 to 9.
Output: an nx3 matrix where each row is an RGB value with the specified default MATLAB color.

matlab_colors = [0 0.4470 0.7410; % the matlab colors!
0.8500 0.3250 0.0980;
0.9290 0.6940 0.1250;
0.4940 0.1840 0.5560;
0.4660 0.6740 0.1880;
0.3010 0.7450 0.9330;
0.6350 0.0780 0.1840;
0.3 0.3 0.3;
0 0 0 ];

Citation pour cette source

Jonah Pearl (2024). mlc (Matlab Colors) (https://www.mathworks.com/matlabcentral/fileexchange/78510-mlc-matlab-colors), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2020a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Version Publié le Notes de version
1.0.0