-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathLFDispProjSubfigs.m
45 lines (36 loc) · 1.07 KB
/
LFDispProjSubfigs.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
% LFDispProjSubfigs - Build six subfigures dispaying projections of the LF onto pairs dimensions
%
% Usage:
% LFDispProjSubfigs( LF, [<LFDispProj options>] )
%
% Inputs:
%
% LF: Light field to display
%
% Optional Inputs:
%
% <LFDispProj options>: any additional options get passed along to LFDispProj
%
% Examples:
%
% LFDispProjSubfigs( LF ); % displays 6 projections of the LF with default parameters
%
% LFDispProjSubfigs( LF, 'max' ); % ... uses max for projection method
%
%
% User guide: <a href="matlab:which LFToolbox.pdf; open('LFToolbox.pdf')">LFToolbox.pdf</a>
% See also: LFDispProj, LFDisp, LFDispMousePan, LFDispVidCirc, LFDispLawnmower, LFDispTiles
% Copyright (c) 2012-2020 Donald G. Dansereau
function LFDispProjSubfigs( LF, varargin )
subplot(231)
LFDispProj( LF, 3, 4, varargin{:} );
subplot(234)
LFDispProj( LF, 1, 2, varargin{:} );
subplot(232)
LFDispProj( LF, 2, 4, varargin{:} );
subplot(235)
LFDispProj( LF, 1, 3, varargin{:} );
subplot(233)
LFDispProj( LF, 2, 3, varargin{:} );
subplot(236)
LFDispProj( LF, 1, 4, varargin{:} );