mlc (Matlab Colors)

Versión 1.0.0 (1,13 KB) por Jonah Pearl
Get the RGB values for the default MATLAB colors
8 descargas
Actualizado 22 jul 2020

Ver licencia

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 ];

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versión Publicado Notas de la versión
1.0.0