No BSD License  

Highlights from
GNU Emacs Color matrix

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 9.41 KB File ID: #22939
image thumbnail

GNU Emacs Color matrix

by T. U.

 

10 Feb 2009

Two MATLAB .mat files include GNU Emacs Color name and their RGB (256) array.

| Watch this File

File Information
Description

Two MATLAB .mat files includ GNU Emacs Color name and their RGB (256) array.

EmacsColor is a structure size with 548, each field corresponds color name and contains 1x3 array such as

EmacsColor =
                    snow: [1 0.980392156862745 0.980392156862745]
              ghostwhite: [0.972549019607843 0.972549019607843 1]
              whitesmoke: [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]
                   linen: [0.980392156862745 0.941176470588235 0.901960784313726]

EmacsColorMat is a 548x3 array with Emacs Color code.

You may use EmacsColor and/or EmacsColorMat

  load EmacsColor;
  x = [1:10];
  y = x.^2 ;
  plot(x,y,'Color',EmacsColor.aquamarine2);

  load EmacsColorMat;
  plot(x,y,'Color',EmacsColorMat(321,:) );

You can see Emacs Color name at
http://homepage1.nifty.com/blankspace/emacs/emacs_rgb.html

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
color T. U. 10 Feb 2009 11:23:09
emacs T. U. 10 Feb 2009 11:23:09

Contact us at files@mathworks.com