VERB_code_2.3
Plot.m
1 %% Set up the data for Plot_3pic to plot
2 %
3 % PLOT selects which Diffusion Coefficient data to use for our plots. It
4 % also establishes bounds before sending the data to Plot_3pic, where we
5 % actually plot the data.
6 %
7 % Make sure to set the SAVEFIG parameter depending on whether you want to
8 % save the figure.
9 %
10 % Remember, any pre-existing figure will be replaced!
11 % Specify which figure to plot inside setup.m
12 %
13 % See also: Plot_3pic.m
14 
15 %% Parameter
16 %
17 % Save the plot to the Figures folder?
18 SAVEFIG = false;
19 
20 %% Code
21 
22 addpath('../Setup/');
23 addpath('../Setup/Various_functions');
24 
25 if(~exist('FIGURE','var'))
26  FIGURE = '9';
27 end
28 
29 switch(FIGURE)
30  case '6'
31  DxxFiles = {'Daa_hiss_plume_FA.plt'}; % which PLT file(s) to use
32  DxxColors ={'k'}; % curve color for each file
33  DxxNames ={'Hiss'}; % names for legend
34  DxxYLim = [1e-3 3.5e3]; % y bounds (row 1)
35  PSDYLim = [1e-3 1e1]; % y bounds (row 2)
36  DecayLim = [0 80]; % y bounds (row 3)
37  Plot_3pic % Plot with these parameters
38  case '7'
39  DxxFiles = {'Daa_hiss_plume_FA.plt','Daa_EMIC_Plume_FA.plt'};
40  DxxColors ={'k','r'};
41  DxxNames ={'Hiss','EMIC'};
42  DxxYLim = [1e-3 3.5e3];
43  PSDYLim = [1e-6 1e1];
44  DecayLim = [0 3];
45  Plot_3pic
46  case '8'
47  DxxFiles = {'Daa_chorus_night_FA.plt','Daa_chorus_day_FA.plt'};
48  DxxColors ={'b','k'};
49  DxxNames ={'Chorus night','Chorus day'};
50  DxxYLim = [1e-3 5e3];
51  PSDYLim = [1e-3 1e1];
52  DecayLim = [0 40];
53  Plot_3pic
54  case '9'
55  DxxFiles = {'Daa_chorus_night_FA.plt','Daa_chorus_day_FA.plt','Daa_EMIC_Plume_FA.plt'};
56  DxxColors ={'b','k','r'};
57  DxxNames ={'Chorus night','Chorus day','EMIC'};
58  DxxYLim = [1e-3 1e5];
59  PSDYLim = [1e-3 1e1];
60  DecayLim = [0 2];
61  Plot_3pic
62 end
63 
64 if(SAVEFIG)
65 saveas(gcf,['../Figures/Figure' FIGURE '.png']);
66 close(gcf);
67 end
void gcf(double *gammcf, double a, double x, double *gln)
Returns the incomplete gamma function Q(a, x) evaluated by its continued fraction representation as g...
Definition: erf.cpp:103
Parameters_structure parameters
Parameters structure, with all parameters from the parameters.ini file. The default parameters define...
Definition: Main.cpp:185