Make Pretty (Publishable) Graphs

Easily create publishable ready figures. Great used with export_fig or on its own.
Updated 29 Mar 2012

View License

Easily Create Publishable Ready Figures. Change Font Size, Line Width and Background Color. Makes all Axis Labels the same Precision.

Great used with export_fig, but even on its own it makes great looking figures. Easily make a set of consistent figures for reports, publications, or other applications where it is important to have professional looking graphs.
This file doesn't require any toolboxes or extra files.

syntax: pubgraph(FigureHandle, FontSize, LineWidth, Color)

h=figure; plot(x,y,'o')
xlabel('Time (s)'), ylabel('People')

Note: This doesn't save the figures. You can do this using the save button on the figure toolbar or using export_fig or other Matlab Central Files.

Also: I have a pretty old version of Matlab, if someone with a newer version could check it out and see if it throws errors, and leave a comment, that would be great!

Author: Ruth Livingstone

Cite As

Ruth Livingstone (2024). Make Pretty (Publishable) Graphs (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Printing and Saving 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!
Version Published Release Notes