两个MATLAB .mat文件包括GNU Emacs颜色名称和他们的RGB(256)数组。
与548年EmacsColor结构尺寸,每个字段对应颜色名称,包含1 x3数组等
EmacsColor =
雪:(1)0.980392156862745 - 0.980392156862745)
ghostwhite (0.972549019607843 - 0.972549019607843 (1):
烟白(0.960784313725490 0.960784313725490 0.960784313725490):
gainsboro (0.862745098039216 0.862745098039216 0.862745098039216):
floralwhite:(1) 0.980392156862745 - 0.941176470588235)
oldlace (0.992156862745098 0.960784313725490 0.901960784313726):
亚麻(0.980392156862745 0.941176470588235 0.901960784313726):
EmacsColorMat是548 x3阵列与Emacs的颜色代码。
你可以用EmacsColor和/或EmacsColorMat
加载EmacsColor;
x = [1:10];
y = x。^ 2;
情节(x, y,“颜色”,EmacsColor.aquamarine2);
加载EmacsColorMat;
情节(x, y,“颜色”,EmacsColorMat(321年:));
你可以看到Emacs颜色名称
http://homepage1.nifty.com/blankspace/emacs/emacs_rgb.html
引用作为
t .美国(2022年)。GNU Emacs颜色矩阵(//www.tatmou.com/matlabcentral/fileexchange/22939-gnu-emacs-color-matrix), MATLAB中央文件交换。检索。