% pgfPrint - output figure in pgf format

% output in pgf format, if matfig2pgf is available
try
    figfilename = strcat('../figures/', ScriptName, '.tex');
    matfig2pgf('filename',figfilename, ...
        'figwidth',8, ...
        'textprecode','\small ', 'mathprecode', '\small $')
catch
    
end