mlc (Matlab Colors)

バージョン 1.0.0 (1.13 KB) 作成者: Jonah Pearl
Get the RGB values for the default MATLAB colors
ダウンロード: 8
更新 2020/7/22

ライセンスの表示

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

引用

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

MATLAB リリースの互換性
作成: R2020a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!

バージョン 公開済み リリース ノート
1.0.0