Mercurial > repos > public > sbplib
annotate savepng.m @ 235:d6344b549081 feature/beams
scheme.Beam: Played around with tuning.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 14 Jul 2016 10:41:32 +0200 |
parents | 125c51e4dca8 |
children | b4ae78a1c2b9 |
rev | line source |
---|---|
124 | 1 function savepng(h, filename, dpi) |
143
125c51e4dca8
Added function to set alla font sizes of a figure. Added default dpi to savepng.
Jonatan Werpers <jonatan@werpers.com>
parents:
124
diff
changeset
|
2 default_arg('dpi', 300) |
124 | 3 print(h,filename,'-dpng',sprintf('-r%d',dpi)); |
4 % Let print size in inches as input parameter | |
5 % Smaller boundingbox | |
6 end |