PlotPub - Publication Quality Graphs in MATLAB

PlotPub is a MATLAB library for creating beautiful, publication quality figures.
ダウンロード: 13.6K
更新 2021/10/8

PlotPub is a free and open source MATLAB library for creating beautiful, publication quality graphs from instantly generated MATLAB figures or saved MATLAB fig files. This library provides a simple and easy way to modify almost all aspects of a MATLAB figure. It can export figures in EPS, PDF, JPEG, PNG and TIFF with adjustable resolution. The default settings in PlotPub can produce decent, publication ready graphs right out of the box.

New features of v2.x
- Simple and elegant object oriented approach: all aspects of the MATLAB figure is encapsulated in the Plot class.
- Create new plots, open saved figures or change existing figure using the same call, Plot().
- Control every aspect of a MATLAB figure using the Plot class object.
- Property changes are immediately visible, useful when using from the command window.
- Even easier to use.
- Fully compatible to v1.x.

What’s New in v1.3?
- Several bugs are fixed including marker spacing.
- New options for axis color, axis line width, tick direction, tick length, minor ticks, legend box, legend text color etc.
- New, more appealing default look.

Features of v1.x
- The default settings can generate beautiful, publication quality graphs out of the box.
- Supports instantly generated MATLAB figures and saved MATLAB fig files
- Export figures in EPS, PDF, JPEG, PNG and TIFF with adjustable resolution.
- Adjustable marker spacing.
- Change almost all aspects of a figure using simple and intuitive code.
- A lot of example codes. A decent tutorial and good documentation.
- Tested in Ubuntu and OSX with MATLAB 7.10. But it should work in other operating systems with other versions of MATLAB.
- Distributed under BSD license which allows you to do anything you like.

Please visit the project page at for tutorial and documentation.

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:


where, I assume that you put PlotPub-2.0 in D:/MATLAB folder. The sample codes can be found inside the examples folder.

Bugs and Feature Request
If you find any bug/problems/issues, please report it on the GitHub page at If you want new features, please add a request there.

Known issues
- Does not work with sub-figures.


K M Masum Habib (2024). PlotPub - Publication Quality Graphs in MATLAB (, GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2013b
Windows macOS Linux
Help Center および MATLAB Answers2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート

Fixed a typo.

Updated description.

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。