view savepng.m @ 175:8f22829b69d0 feature/beams

Added and upgraded schemes for the beam equation in 1d and 2d.
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 26 Feb 2016 16:21:47 +0100
parents 7e7f90e4954e
children 125c51e4dca8
line wrap: on
line source

function savepng(h, filename, dpi)
    print(h,filename,'-dpng',sprintf('-r%d',dpi));
    % Let print size in inches as input parameter
    % Smaller boundingbox
end