Mercurial > repos > public > sbplib
view savepng.m @ 191:7c1d3fc33f90 feature/grids
Added methods for returning boundary names and boundary coordinates from Cartesian and Curvilinear grids.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 04 Apr 2016 18:23:50 +0200 |
parents | 125c51e4dca8 |
children | b4ae78a1c2b9 |
line wrap: on
line source
function savepng(h, filename, dpi) default_arg('dpi', 300) print(h,filename,'-dpng',sprintf('-r%d',dpi)); % Let print size in inches as input parameter % Smaller boundingbox end