labels for axis
Axel Lindner

Axel Lindner commited on 2009-01-26 18:36:09
Zeige 3 geänderte Dateien mit 8 Einfügungen und 3 Löschungen.


git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@119 83ab2cfd-5345-466c-8aeb-2b2739fb922d
... ...
@@ -38,6 +38,8 @@ end
38 38
           end
39 39
       end
40 40
     axis([psthStart psthEnd PSTH_AXIS_MIN PSTH_AXIS_MAX])
41
+    xlabel('time [sec]');
42
+    ylabel('fMRI-signal change [%]');
41 43
     hold off
42 44
     
43 45
     subplot(2,1,2)    
... ...
@@ -48,6 +50,9 @@ end
48 50
     plot([psthStart psthEnd],[chanceLevel chanceLevel],'k:');
49 51
     plot([psthStart psthEnd],[goodPredictionLevel goodPredictionLevel],'k:');
50 52
     axis([psthStart psthEnd 0 100])
53
+    xlabel('time [sec]');
54
+    ylabel('decode performance [%]');
55
+    
51 56
     
52 57
     
53 58
     switch PLOT_METHOD
... ...
@@ -57,7 +62,7 @@ end
57 62
             se = myStdErr(decodePerformance,2);
58 63
             plot(frameStart:frameEnd, mean(decodePerformance,2)+se ,'b:');
59 64
             plot(frameStart:frameEnd, mean(decodePerformance,2)-se ,'b:');
60
-        case 'class performance'
65
+        case CROSSVAL_METHOD_DEF.classPerformance
61 66
             for c = 1:size(decodePerformance,2)
62 67
                 plot(frameStart:frameEnd, decodePerformance(:,c) ,[colorChooser(mod(c,nClasses)+3) '-']);
63 68
             end
... ...
@@ -93,7 +93,7 @@ maxPerformance = -inf;
93 93
                     addpath 'somtoolbox2';
94 94
                     sD = som_data_struct(svmdata,'label',num2str(svmlabel));
95 95
                     assignin('base','sD',sD);
96
-                    sM = som_make(sD,'msize', [3 4],'lattice', 'rect');
96
+                    sM = som_make(sD,'msize', [3 3],'lattice', 'hexa');
97 97
                     
98 98
                     assignin('base','sD',sD);
99 99
                     assignin('base','sM',sM);
... ...
@@ -124,7 +124,7 @@ function pst = calculatePST(des,globalStart,baselineStart,baselineEnd,globalEnd,
124 124
     end;
125 125
     
126 126
     %%%%COL BIAS REMOVAL, added 090110 %%%%%
127
-    col_bias_removal=0;
127
+    col_bias_removal=1;
128 128
     if col_bias_removal
129 129
 
130 130
         for zr=1:evntrow % Event ROW
131 131