-
Notifications
You must be signed in to change notification settings - Fork 0
/
figure1l.m
51 lines (44 loc) · 1.9 KB
/
figure1l.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
45
46
47
48
49
50
51
function hfig=figure1l
% This software is part of the supplementary material of the publication:
%
% Eyherabide HG, Samengo I, When and why noise correlations are important in
% neural decoding, J Neurosci (2013), 33(45): 17921-17936; doi: 10.1523/JNEUROSCI.0357-13.2013
%
% Should you use this code, we kindly request you to cite the aforementioned publication.
%
% DESCRIPTION:
%
% Constructs Figure 1L.
%
% VERSION CONTROL
%
% V1.000 Hugo Gabriel Eyherabide, University of Helsinki (20 Nov 2013)
%
% Should you find bugs, please contact either Prof. Inés Samengo (samengo at
% cab.cnea.gov.ar) or Hugo Gabriel Eyherabide (hugo.eyherabide at helsinki.fi)
%
% LICENSE
%
% Copyright 2013 Hugo Gabriel Eyherabide
%
% This program is free software: you can redistribute it and/or modify it under
% the terms of the GNU General Public License as published by the Free Software
% Foundation, either version 3 of the License, or (at your option) any later version.
%
% This program is distributed in the hope that it will be useful, but WITHOUT ANY
% WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
% PARTICULAR PURPOSE. See the GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License along with this
% program. If not, see http://www.gnu.org/licenses/.
% Parameters of response Gaussian-distributions
ex.mean1=[4,4];
ex.mean2=[6,6];
ex.rho1=-0.9;
ex.ps1=0.1;
ex.pos=2; % Places legends in the upper left corner
ex.title='Figure 1L - J Neurosci (2013), 33(45): 17921-17936';
% Construct panel with estimations of minimum information loss attainable by
% NI decoders.
hfig=plotf1prho2g(ex);
end