subplotPPT

버전 1.5.0.1 (10.7 KB) 작성자: Mark Hoyle
Saves multiple MATLAB figure windows to powerpoint giving the user "subplot" style control over thei
다운로드 수: 3.3K
업데이트 날짜: 2016/9/1

라이선스 보기

Saves multiple MATLAB figure windows to powerpoint giving the user "subplot" style control over their positions in the final slide.
Given multiple figures you can use commands like:

subplotPPT(m,n,k,...) to print a copy of the figure to a powerpoint slide. The first three arguements behave like those of subplot: m rows of images, n columns amd k gives you the index of the image to paste to (if k has two element per image then the function will merge the image across the locations). Other inputs:

Vector of handles to figures to paste into the slide

Filename of powerpoint file to use

slide number to print to

Region of the slide to print to

image file format to print to (e.g jpg, png, bmp ...)

gaps between adjacent images

units for specifying measures in.

The zip file contains subplotPPT and test_PPTScript which runs through some examples of how to call the function

Example:

The code:

h(1) = figure;
peaks;
h(2) = figure;
membrane;
h(3) = figure;
spy;
h(4) = figure;
image;
h(5) = figure;
tori4;

subplotPPT(3,3,...
[1 4; 2 3; 5 5; 6 9; 7 8],...
h,[pwd,filesep,'test.ppt'],4,...
'region',[200 100 500 340],...
'hgap',10,'vgap',10,'units','pixels');

Generates the screenshot

인용 양식

Mark Hoyle (2024). subplotPPT (https://www.mathworks.com/matlabcentral/fileexchange/20949-subplotppt), MATLAB Central File Exchange. 검색 날짜: .

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

도움 받은 파일: saveppt, saveppt2

Community Treasure Hunt

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

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

Updated license

1.5.0.0

Included Trademark Information

1.4.0.0

Added in copyright information

1.3.0.0

Now contains a file "subplotPPT_2007" for use with Office 2007. Thanks to Mykel Kochenderfer for pointing this out to me.

1.0.0.0

Fixing a bug in the previous code and adding the capability to save as an image file. Powerpoint allows you to save slides to a range of image file type. subplotPPT now lets you save the resulting slide to an image file. See test script for examples.