-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserDefinedFunctions.m
41 lines (41 loc) · 1011 Bytes
/
userDefinedFunctions.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
% %Example of user input MATLAB file for post processing
% close all
% %Plot wave surface elevation
% % waves.plotEta();
%
% %Body 1
% % Forces
%
% % %Plot heave forces for body 1
% % output.plotForces(1,3);
% % %Plot pitch forces for body 1
% % output.plotForces(1,5);
%
% % % Response
% %
% % %Plot surge response for body 1
% % % output.plotResponse(1,1);
% %Plot heave response for body 1
% output.plotResponse(1,3);
% %Plot pitch response for body 1
% output.plotResponse(1,5);
% %
% %Body 2
% % Forces
%
% % %Plot heave forces for body 2
% % output.plotForces(2,3);
% % %Plot pitch forces for body 2
% % output.plotForces(2,5);
% %
% % % Response
% %
% % %Plot surge response for body 2
% % output.plotResponse(2,1);
% %Plot heave response for body 2
% output.plotResponse(2,3);
% %Plot pitch response for body 1
% output.plotResponse(2,5);
%
% tilefigs
% linkaxes(findobj('Type','axes'),'x')