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