Fancy Graphs

This is a very simple script aimed at improving the readability of plots.
387 Downloads
Updated 23 Apr 2012

View License

Given a figure handle, this script searches for all nested objects, and sets the line-width and text-size of all objects to the desired one.
Its very handy to set axes, legends, titles, and text-boxes to the desired size for printing, in a single command.

Additionally, it has the option to save the figure in a file.

Hope this is as useful for you, as it is for me! ;)

Cite As

Frequency Domain (2025). Fancy Graphs (https://www.mathworks.com/matlabcentral/fileexchange/36167-fancy-graphs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graph and Network Algorithms 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
1.1.0.0

Made the code more robust and elegant, namely by using findall() and try...end

1.0.0.0