prettify_matlab

A one-stop shop to instantly make your MATLAB scripts and plots beautiful, publication-ready and colorblind friendly.
15 Downloads
Updated 4 Dec 2023
🪄 prettify matlab
See github for the most up-to date version! : https://github.com/Julie-Fabre/prettify_matlab/
A one-stop shop to instantly make your MATLAB scripts and plots beautiful, publication-ready and colorblind friendly.
🏁 Installation
To use prettify_matlab:
clone the repository and it's dependancies
add the repository folder to MATLAB's path.
prettify_matlab doesn't use any of MATLAB's add-on toolboxes.
Dependencies
colorbrewer, to generate colormaps
rgb - modified version (called with prettify_rgb()) already included.
🚩 Features
Prettify code
Run prettify_current_code; to prettify your current script open in the MATLAB editor. All code editing rules are stored in the formatRules.xml file, where they can easily be changed.
Prettify plots
Run prettify_plot; to prettify your current figure (includes all subplots). Includes options to modify the background color, text size and homogenize x and y limits across plots.
Prettify colors
Colorblind simulator
Run prettify_colorblind_simulator; to plot your current figure as it would seen with different types of color blindness.
Uses the matrices from:
Gustavo M. Machado, Manuel M. Oliveira, and Leandro A. F. Fernandes "A Physiologically-based Model for Simulation of Color Vision Deficiency". IEEE Transactions on Visualization and Computer Graphics. Volume 15 (2009), Number 6, November/December 2009. pp. 1291-1298.
To do list
Perceptually-uniform, colorblind friendly colormaps.
Prettify colorbars and labels
wrap titles/labels
shaded, shaded gradual

Cite As

Julie Fabre (2024). prettify_matlab (https://github.com/Julie-Fabre/prettify_matlab/releases/tag/v0.0.21), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
0.0.21.0

See release notes for this release on GitHub: https://github.com/Julie-Fabre/prettify_matlab/releases/tag/v0.0.21

0.0.4

See release notes for this release on GitHub: https://github.com/Julie-Fabre/prettify_matlab/releases/tag/v0.0.4

0.0.3

See release notes for this release on GitHub: https://github.com/Julie-Fabre/prettify_matlab/releases/tag/v0.0.3

0.0.2.0

See release notes for this release on GitHub: https://github.com/Julie-Fabre/prettify_matlab/releases/tag/v0.0.2

0.0.1

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.