MATLAB is an excellent tool. It is equally popular among students, researchers and professors. If you use MATLAB for your project/research, you probably know that it is not easy to create publication quality graphs (PQGs) using MATLAB. You will have to call a billion set and get functions to create a decent plot with desired height, width, fonts, line width, color etc. Here, I present PlotPub which is a collection of MATLAB functions and a MATLAB class that allows you to modify almost all aspects of MATLAB figures and export PQGs using one function call and a simple structure.
NOTICE#1: The tutorial for PlotPub has been moved here.
NOTICE#2: Tutorial on Publication Quality Subfigure in Inkscape.
NOTICE#3: The previous version of this page can be found here.
Contents
In version 1.2, I introduced a new function setPlotProp which is superior to the old function plotPub. But for backward compatibility, plotPub is still available in v1.2+. Therefore, all of your previous codes should work with v1.2+.
Download the latest stable version from the link below. If you are interested in development, please visit the GitHub page. The most recent development version is available here.
Download and extract the zip file from the link given above. Install PlotPub using any one of the three possible ways: (1) copy all the *.m files inside the lib folder to either your MATLAB path or (2) copy those files to your current project folder or (3) put plotPub-master in any convenient folder and add the following line in your MATLAB code:
addpath('D:/MATLAB/PlotPub-2.0');
where, I assume that you put plotPub-2.0 in D:/MATLAB folder. The sample codes can be found inside the examples folder.
For more information, please visit the following pages:
If you find any bug/problems/issues, please report it here. If you want new features, please add a request here.
If you have any comment, want me to explain anything, find any bug or include a new feature to the code and share with others, please let me know.