Mercurial > repos > public > sbplib
comparison savepng.m @ 200:ef41fde95ac4 feature/beams
Merged feature/grids into feature/beams.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 13 Jun 2016 16:59:02 +0200 |
parents | 125c51e4dca8 |
children | b4ae78a1c2b9 |
comparison
equal
deleted
inserted
replaced
181:419ec303e97d | 200:ef41fde95ac4 |
---|---|
1 function savepng(h, filename, dpi) | 1 function savepng(h, filename, dpi) |
2 default_arg('dpi', 300) | |
2 print(h,filename,'-dpng',sprintf('-r%d',dpi)); | 3 print(h,filename,'-dpng',sprintf('-r%d',dpi)); |
3 % Let print size in inches as input parameter | 4 % Let print size in inches as input parameter |
4 % Smaller boundingbox | 5 % Smaller boundingbox |
5 end | 6 end |