diff --git a/text/thesis/03Results.tex b/text/thesis/03Results.tex index 9b52e06..f32f80c 100644 --- a/text/thesis/03Results.tex +++ b/text/thesis/03Results.tex @@ -151,5 +151,6 @@ \caption{Autoencoder data predicted from Low Frequencies} \label{fig:lfToAutoencPause} \end{figure} +% mean, std of correlation %EEG -> EMG %Autoenc kin/pos diff --git a/usedMcode/evaluationCorrelations.m b/usedMcode/evaluationCorrelations.m index 39da23e..791ee34 100644 --- a/usedMcode/evaluationCorrelations.m +++ b/usedMcode/evaluationCorrelations.m @@ -1,5 +1,7 @@ load('/home/jph/Uni/masterarbeit/evaluation.mat') +figureSavePath='/home/jph/Uni/masterarbeit/text/thesis/pictures/results/'; +% saveFigure(gcf,'plot') %% compare methods of recording % velocities eegCorrKin=pickFromStruct(correlations.EEG.kin,1:3); @@ -15,7 +17,7 @@ anova1(cell2mat(cat(1,eegCorrKin,emgCorrKin,LFCorrKin)'),cat(1,EEG,EMG,LF)) ylabel('correlation recorded - predicted') -title('ANOVA for EEG, EMG and LF') +title('prediction of velocities for EEG, EMG and LF') anova1(cell2mat(cat(1,eegCorrKin,emgCorrKin)'),cat(1,EEG,EMG)) anova1(cell2mat(cat(1,eegCorrKin,LFCorrKin)'),cat(1,EEG,LF)) anova1(cell2mat(cat(1,emgCorrKin,LFCorrKin)'),cat(1,EMG,LF)) @@ -33,7 +35,7 @@ anova1(cell2mat(cat(1,eegCorrPos,emgCorrPos,LFCorrPos)'),cat(1,EEG,EMG,LF)) ylabel('correlation recorded - predicted') -title('ANOVA for EEG, EMG and LF') +title('prediction of positions for EEG, EMG and LF') anova1(cell2mat(cat(1,eegCorrPos,emgCorrPos)'),cat(1,EEG,EMG)) anova1(cell2mat(cat(1,eegCorrPos,LFCorrPos)'),cat(1,EEG,LF)) anova1(cell2mat(cat(1,emgCorrPos,LFCorrPos)'),cat(1,EMG,LF)) diff --git a/usedMcode/saveFigure.m b/usedMcode/saveFigure.m new file mode 100644 index 0000000..b2e2f84 --- /dev/null +++ b/usedMcode/saveFigure.m @@ -0,0 +1,9 @@ +function []=saveFigure(fig,filename) + + set(fig,'Position',[251 49 1105 636]); + axes = findobj(fig,'type','axes'); + set(axes,'FontSize',12); + set(fig,'PaperPositionMode','auto'); + print(fig,'-dpng','-zbuffer','-r300',filename) + disp(strcat('file saved at ',filename)) +end \ No newline at end of file