savefigures(varargi​n)

버전 1.1.0.0 (6.8 KB) 작성자: Toby
Save Figures
다운로드 수: 144
업데이트 날짜: 2017/9/28

라이선스 보기

% Saves all open figures (or those specified by input figureHandles) to specified output image type.
% Output filename is based on current axes title for each figure.
%
% syntax:
% savefigures(figureHandles, outputDirectory)
%
% where:
% figureHandles (optional) - figure handle or array of figure handles to save
% defaults to all current figures if no argument or
% empty argument ([],{},etc)
% outputDirectory (optional) - directory to place figures in
% defaults to uigetdir dialog (if no argument) or current
% directory (if argument is empty - [],'',etc)
%
% additional input parameters are available:
% 'outputFormat' - image formats used with the print function; defaults to '-dpng'
% 'orientation' - 'Portrait' or 'Landscape'; defaults to 'Portrait'
% 'paperType' - standard page sizes; defaults to 'usletter'
% 'margin' - margin to use when saving images (units correspond to paperType); defaults to 0.5
% 'saveFigFlag' - logical flag to save .fig file in addition to printed image; defaults to false
%
% these parameters are set by:
% savefigures(figureHandles,outputDirectory,'parameter','value')
%

인용 양식

Toby (2024). savefigures(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/59061-savefigures-varargin), MATLAB Central File Exchange. 검색 날짜: .

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

Community Treasure Hunt

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

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

Added more robust check for characters not allowed in saved filenames (based on figure titles).

1.0.0.0