image thumbnail

SetFigPaper

version 1.0.2 (21 KB) by Jose M. Requena Plens
Function to modify the style of the graphical representations of MATLAB

110 Downloads

Updated 07 Apr 2021

From GitHub

View license on GitHub

Editor's Note: This file was selected as MATLAB Central Pick of the Week

With this function it is possible to modify multiple style parameters of MATLAB graphic representations. It is only necessary to include the function call after the graphic representation code, that's all.

It can be used in two ways:

* Name-Value pair arguments: setfigpaper('Width',[20,0.65],'Interpreter','Latex'). Only the parameters you want to modify are necessary.
* Values only: setfigpaper([20,0.65],10,'Helvetica','Latex'). With explicit order: (Width,FontSize,FontName,Interpreter,Grayscale,LineWidth).

Cite As

Requena-Plens, Jose M. SetFigPaper (https://www.github.com/jmrplens/SetFigPaper), GitHub. 2020.

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

Community Treasure Hunt

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

Start Hunting!
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.