You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: plotify.m
    path of file: ./repos/optimviz/private
    
    the code of the file until where you have to start completion: function h=plotify(varargin)
%PLOTIFY Create axes for subplots. 
%
% Inspired by:
% - subplot_tight by Nikolay S. (http://vision.technion.ac.il/~kolian1/).
% - tight_plot by William T. Adler

% Author:   Luigi Acerbi
% Email:    luigi.acerbi@gmail.com
% Date:     09/15/2016

% Return help
if nargin == 0 && nargout == 0
    help ploti
    
function options = parseoptions(options,varargin)
%PARSEOPTIONS Parse options either as struct or variable arguments in name/value format.
%   OPTIONS = PARSEOPTIONS(OPTIONS,'PROPERTY1',VALUE1,'PROPERTY2',VALUE2,...)
%   sets the fields propertyX in default OPTIONS structure to valueX. Input 
%   field names are not case sensitive. 
%
%   OPTIONS = PARSEOPTIONS(OPTIONS,NEWOPTS) assigns fields in struct NEWOPTS
%   to OPTIONS. Matching fields are not case sensitive for OPTIONS.
%
%   OPTIONS = PARSEOPTIONS(OPTIONS,NEWOPTS,'PROPERTY1',VALUE1,'PROPERTY2',VALUE2,...) 
%   first assigns values from struct NEWOPTS, and then name/value pairs.
%

%   Author: Luigi Acerbi
%   Email:  luigi.acerbi@gmail.com
%   Date:   Sep/08/2016

if nargin < 1; help parseoptions; return; end