diff --git a/pspm_cfg/pspm_cfg_run_contrast2.m b/pspm_cfg/pspm_cfg_run_contrast2.m index 5a8d31c74..6778296ff 100644 --- a/pspm_cfg/pspm_cfg_run_contrast2.m +++ b/pspm_cfg/pspm_cfg_run_contrast2.m @@ -13,7 +13,7 @@ end % outfile -outfile = [job.outdir{1} '\' job.filename '.mat']; +outfile = [job.outdir{1} filesep job.filename '.mat']; % connames & con connames = fieldnames(job.def_con_name); @@ -44,4 +44,4 @@ pspm_con2(modelfile, outfile, con, connames, options); -out = {outfile}; \ No newline at end of file +out = {outfile}; diff --git a/pspm_cfg/pspm_cfg_run_import.m b/pspm_cfg/pspm_cfg_run_import.m index 8bc721c48..8678e1194 100644 --- a/pspm_cfg/pspm_cfg_run_import.m +++ b/pspm_cfg/pspm_cfg_run_import.m @@ -64,13 +64,15 @@ % Check if eytracker distance is available if ~isempty(regexpi(type, 'pupil')) && ... isfield(job.datatype.(datatype), 'eyelink_trackdist') - transfer = job.datatype.(datatype).eyelink_trackdist; - distance_unit = job.datatype.(datatype).distance_unit; + transfer = job.datatype.(datatype).eyelink_trackdist; + distance_unit = job.datatype.(datatype).distance_unit; + if transfer > 0 import{i}.eyelink_trackdist = transfer; import{i}.distance_unit = distance_unit; else import{i}.eyelink_trackdist = 'none'; + import{i}.distance_unit = ''; end end diff --git a/pspm_rev2.m b/pspm_rev2.m index 94eadd800..8ab5749ac 100644 --- a/pspm_rev2.m +++ b/pspm_rev2.m @@ -60,8 +60,14 @@ function pspm_rev2(modelfile, con) hold on; fig(1).err(c)=errorbar(c, m(c), s(c), 'LineStyle', 'none', 'Color', [0 0 0], 'LineWidth', 3); end; - set(fig(1).ax(1).h, 'XTick', [1:numel(con)], 'XTickLabel', t.names(con), 'YLim',[YMin, YMax], 'YTick', [], 'FontWeight', 'Bold', 'FontSize', 14); - set(get(fig(1).ax(1).h, 'YLabel'), 'String', 'Parameter mean (arbitrary units)', 'FontSize', 18, 'FontWeight', 'Bold'); + set(fig(1).ax(1).h, 'XTick', [1:numel(con)], ... + 'XTickLabel', t.names(con), 'YLim',[YMin, YMax], ... + 'YTick', [], 'TickLabelInterpreter', 'none', ... + 'XTickLabelRotation', 25, ... + 'FontWeight', 'Bold', 'FontSize', 14); + set(get(fig(1).ax(1).h, 'YLabel'), ... + 'String', 'Parameter mean (arbitrary units)', ... + 'FontSize', 18, 'FontWeight', 'Bold'); end; % display files and tables @@ -106,6 +112,6 @@ function pspm_rev2(modelfile, con) end; disp(' '); disp('__________________________________________________________________________________'); -disp('SCRalyze (c) Dominik R. Bach, Wellcome Trust Centre for Neuroimaging, UCL London UK'); +disp('PsPM (c) Dominik R. Bach, Wellcome Trust Centre for Neuroimaging, UCL London UK'); -return; \ No newline at end of file +return;