savefigure

버전 1.2.0.0 (5.59 KB) 작성자: Aslak Grinsted
Easy way of saving figures to publication friendly format.
다운로드 수: 6.9K
업데이트 날짜: 2014/7/9

라이선스 보기

Easy way of saving figures to publication friendly format

Usage: [Args=]savefigure(name[,property,value,...])

properties and default value
'Dpi',600,
'Size',[3.3 2.5] inches
'FontSize',0 fontsize multiplier
'MinFontSize',8 minimum fontsize in pt
'LineWidth',.5 linewidth multiplier
'MinLineWidth',.5 minimum linewidth in pt
'MarkerSize',.5 markersize multiplier
'MinMarkerSize',3 minimum MarkerSize in pt
'Margins',[0 0 0 0] [Left,Right,Top,Bottom] - can be used to set margins (relative units)
. * When using automargins then this will be interpreted as additional margins
. * when a single number is specified then it is used as a multiplier to the tight-inset used for auto margins.
'AutoMargins',true
'PrintOptions','' (OBSOLETE! Use Format or file-extension instead)
'Format','png' if not specified then it will be inferred from the filename

-------------------
EXAMPLE:
close all;
semilogy(1:10,cos(1:10));
xlabel('x');
ylabel('y');
savefigure('test.png','s',[3.3 2.5])

인용 양식

Aslak Grinsted (2024). savefigure (https://www.mathworks.com/matlabcentral/fileexchange/6854-savefigure), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Thermal Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Fixes for R2014b

1.1.0.0

Added handling of legends and colorbars.

1.0.0.0

I submitted an update earlier today, but a major bug sneaked into parseArgs.m ... This has been fixed in this version.