Skip to content

avramidis/FigureWhitespaceRemove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FigureWhitespaceRemove

license: MIT DOI

FigureWhitespaceRemove is a MATLAB function for the removal of white space around exported figures to png and tiff files.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To download the code you can use the "clone or download" button to download the zip with the code or use git. To install git on Ubuntu use the following commands in a terminal

sudo apt update
sudo apt install git

To pull the repository from github use the following command in a terminal

git clone https://github.com/avramidis/FigureWhitespaceRemove.git

Installing

To use FigureWhitespaceRemove function in any folder use the following command in MATLAB in the folder where FigureWhitespaceRemove folder is located. More information can be found at https://www.mathworks.com/help/matlab/ref/addpath.html

addpath('FigureWhitespaceRemove')

Example

An example code that uses FigureWhitespaceRemove is the following

iminfo=figureWhitespaceRemove('testFigure');

If the run was successful the output will be the iminfor struct that includes information about the image generated by the testFigure.fig. Also, the images testFigure.png and testFigure.tif are generated.

License

This project is licensed under the MIT License - see the LICENSE file for details

How to cite FigureWhitespaceRemove

To cite FigureWhitespaceRemove please cite the URL and the DOI of the release version you used. The DOI of the latest release is at the badge at the top of this README.md file.

Acknowledgments