A library for automating MATLAB figures editing for scientific publication