|
@@ -1,11 +1,11 @@
|
|
|
-function fig = Figure_1( strNIXFolderPath, varargin )
|
|
|
+function fig = Figure_2( strNIXFolderPath, varargin )
|
|
|
|
|
|
-% Figure_1.m reproduces Figure 1 in the dataset publication
|
|
|
-% fig = Figure_1(strNIXFolderPath) reproduces Figure 1
|
|
|
+% Figure_2.m reproduces Figure 2 in the dataset publication
|
|
|
+% fig = Figure_2(strNIXFolderPath) reproduces Figure 2
|
|
|
% strNIXFolderPath is the path of the folder with NIX files
|
|
|
% fig is the figure handle
|
|
|
% Default neuron number plotted is 30
|
|
|
-% fig = Figure_1(strNIXFolderPath,nNexampleNeuron) reproduces Figure 1 with the
|
|
|
+% fig = Figure_2(strNIXFolderPath,nNexampleNeuron) reproduces Figure 2 with the
|
|
|
% example neuron nNexampleNeuron
|
|
|
%
|
|
|
% Add the toolbox 'gramm' to the MATLAB path
|
|
@@ -120,7 +120,7 @@ for i = 1:max(FR(:,2))
|
|
|
end
|
|
|
end
|
|
|
|
|
|
-%% Plot Figure 1
|
|
|
+%% Plot Figure 2
|
|
|
clear g
|
|
|
fig = figure;
|
|
|
% FR
|