maxsich/sublimeFigu​re

Effortlessly create multi-plot figures ready for scientific publications or presentation in MATLAB.
85 Downloads
Updated 4 Jan 2018

MATLAB is great for data processing and has a wealth of data plotting, imaging functions. However, when it comes to producing figures, which would be suitable for presentations or publications it falls short with its default settings. The problem is usually with huge margins, which are hard to control, especially with subplots.
The aim of sublimeFigure project is to create a way to plot figures quickly in MATLAB, which immediately would be suitable for publications or presentations.
sublimeFigure is built around the idea that the user sets figure size needed, and margins (or padding) between subplots. The rest is calculated automatically to fill the maximum space.
For example, the code below will produce a figure with a single plot of the right size for a one-column figure in an APS publication:
f = sublimeFigure;
f.subplot(1,1);
plot(x,y);
print( 'test', '-dpdf', '-r1200' );
sublimeFigure is realised as a class utilising the lately introduced object-oriented functionality of MATLAB, and, therefore, requires the r2017a to function.

A detailed user manual with examples, methods and properties description is included in the package.

Distributed under GNU GPL v3.0.

Cite As

Maksym Sich (2024). maxsich/sublimeFigure (https://github.com/maxsich/sublimeFigure), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

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.2.0.0

Simplified figure default font settings. Now it doesn't use groot. Also, label and tick labels are set to the same font size.

1.1.0.0

Added option to use inches as units. All physical dimensions convert automatically from 'in' to 'cm' and back when changing the new 'defUnits' property. Added description of colour bar location properties to the manual.

1.0.0.0

Updated links

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.