MATLAB Schemer

Apply and save color schemes in MATLAB with ease.

113.9K Downloads

Updated 16 Jan 2023

From GitHub

View License on GitHub

Editor's Note: Popular File 2018 2019 2020

This file was selected as MATLAB Central Pick of the Week

MATLAB Schemer makes it easy to change the color scheme (a.k.a. theme) of the MATLAB display and GUI.
You can use Schemer to import a predefined color scheme, transfer your color settings between installations, or create your own color scheme.
The MATLAB interface has customisable colours for displaying text and highlighting syntax, but no way to easily export these settings and share them with others users, or import them to other machines. In fact, the vast majority of users do not even know the colour settings can be customised at all. Furthermore, MATLAB ships with a light color scheme by default, so any user who wishes to use a dark theme must completely change all the colours. Designing an effective color scheme is not trivial, so it makes sense for users to simply import a pre-made color scheme instead of having to make one from scratch.
Schemer makes this easy. Color schemes can be imported by running `schemer_import` at the MATLAB command prompt, without needing any inputs. This will open a GUI to select the file to import the color scheme from.
Schemer comes with a collection of 11 color schemes to pick from:
- Cobalt
- Darkmate
- Dark Steel
- Matrix
- Monokai
- Oblivion
- Solarized Dark
- Solarized Light
- Tango
- Vibrant
- and the original, default MATLAB scheme, which can be restored as needed.
You can view samples of the color schemes here:
https://github.com/scottclowe/matlab-schemer/blob/master/schemes/README.md#matlab-schemes
If you find a bug in the code, please report it by creating an issue on GitHub:
https://github.com/scottclowe/matlab-schemer

If you want to share a color scheme/theme you have created, please issue a pull request to the daughter repository containing just the color schemes:
https://github.com/scottclowe/matlab-schemes

Cite As

Scott Lowe (2023). MATLAB Schemer (https://github.com/scottclowe/matlab-schemer), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: setupEmacsClassicColors, benhager/solarized-matlab

Inspired: uiselectscheme

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.4.0.0

Updates to VRML/X3DV
Exporting VRML settings with new VRMLX3DV preference name introduced in R2016a, to old VRML name.
Defaults for VRML now come from XML values, so syntax will automatically match for X3D (which is in XML format) and X3DV.

1.3.6.0

Add Monokai theme. Minor changes to backup colour inheritance.

1.3.5.0

Update Matrix, Dark Steel, and Solarized Light/Dark schemes.

1.3.4.0

Update Tango and Matrix schemes

1.3.3.0

Add links to color scheme screenshots.

1.3.2.0

Update schemes documentation and sources list

1.3.1.0

Updated logo to version 2.

1.3.0.0

Fixed a bug (issue #9) reported by @LoGGoL.
Bug made it impossible to export a color scheme without using the GUI, due to a mistake in the input handling.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.