figLib

Version 0.1.2 (55.1 KB) by Piotr
Library created for saving figures in Matlab.
2 Downloads
Updated 25 Sep 2025

View License

Library installation
Copy and paste this in your MATLAB console, if you want to update use git pull command
proj_path = pwd; cd(fullfile(userpath)); if(exist("figLib","dir")) rmdir("figLib", 's'); end
gitclone("https://github.com/informacja/fig", "figLib", Depth=1);
addpath(strcat(fullfile(userpath),"/figLib")); addpath(strcat(fullfile(userpath),"/figLib/extras")); savepath;
cd(proj_path); clc; fprintf(1,'To save current figure, just type here "figPW" (if not exist, empty will be created)\nAfter that you can type "help figPW" for more information about function arguments.\nIf you want save all opened figures just run "figPSW". For more information about whole library type "help figLib"\n')
Library uninstallation
Copy and paste this in your MATLAB console
proj_path = pwd; cd(fullfile(userpath)); fprintf(1,'Uninstalling ... "figLib"\n'); if(exist("figLib","dir")) rmdir("figLib", 's'); end
rmpath(strcat(fullfile(userpath),"/figLib")); rmpath(strcat(fullfile(userpath),"/figLib/extras")); savepath;
cd(proj_path); fprintf(1,'Successfully uninstalled "figLib"\n')

Cite As

Piotr (2026). figLib (https://uk.mathworks.com/matlabcentral/fileexchange/182125-figlib), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
0.1.2

simple dir name

0.1.1

with sub folders

0.1.0.0