afnanenayet / solarized-matlab

Solarized for MATLAB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solarized for MATLAB

Precision colors for machines and people

Solarized

Solarized was created by Ethan Schoonover and you can find out more about the design work that went into it on his project page. If you would like to use Solarized in editors other than MATLAB or on your terminal, Ethan hosts the main repository which combines all the available ports in one place.

Solarized for MATLAB

Solarized was initially ported for MATLAB by Ben Hager and can be found at https://github.com/benhager/solarized-matlab. Wang Yudong add color setup to restore Matlab's defaults.

Screenshots

Solarized Light Color Scheme

LightImg

Solarized Dark Color Scheme

DarkImg

Installation

You can download the files in one of two ways:

  • using git clone git://github.com/wyudong/solarized-matlab.git
  • using the Download button to get the ZIP file and extracting the files to a folder

Once the files are on your PC, add the folder solarized-matlab to your Matlab path or copy the file file setupSolarized.m it to your working folder.

Usage

The setupSolarized.m script can be run from the Matlab command window. The file must be in current working directory or in another directory that is in your path. The type of Solarized theme loaded is based on a string passed to the function when it is run. Here are examples of loading the light and dark themes.

  • >> setupSolarized('light');
  • >> setupSolarized('dark');

This will load the color scheme.

  • >> setupSolarized('default');

Now restore the color scheme to Matlab's default option is also supported.

About

Solarized for MATLAB


Languages

Language:MATLAB 100.0%