Commit d3d8132d authored by jayd1860's avatar jayd1860
Browse files

v1.51.1

-- Fix matlab exception in hmrR_MotionCorrectCbsi.m because call to GetDataTimeSeries method was not updated to match new function definition.
-- MainGUI and PlotProbeGUI/plotProbe.m display improvements: thinner data plot lines, exclude time patches incorrectly changing y lim.
parent bb59bc7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ if isempty(mlActAuto)
end

for iBlk = 1:length(data_dc)
    [dc, order] = data_dc(iBlk).GetDataTimeSeries('reshape');
    [dc, ~, ~, order] = data_dc(iBlk).GetDataTimeSeries('reshape');
    ml = data_dc(iBlk).GetMeasListSrcDetPairs('reshape');
        
    mlActAuto{iBlk} = mlAct_Initialize(mlActAuto{iBlk}, ml);
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@ if ~isempty(tInc)
        h(ii) = patch(handles.axesData, [p(ii,1) p(ii,2) p(ii,2) p(ii,1) p(ii,1)], [yy(1) yy(1) yy(2) yy(2) yy(1)], col, ...
                      'facealpha',0.4, 'edgecolor','none');
    end
    set(handles.axesData, 'ylim',[yy(1), yy(2)]);
    tPtsExclTot = [tPtsExclTot(:)', tPtsExcl(:)'];
end

+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ ylim = get(hAxes, 'ylim');
% Fill up the ylim range with the stim by adding and
% subtracting a tiny amount so that the ylim isn't
% automatically changed
d = (1e-3)*(ylim(2)-ylim(1));
d = (1e-4)*(ylim(2)-ylim(1));
% d = 0;
yrange = [ylim(1)+d, ylim(2)-d];
+2 −2
Original line number Diff line number Diff line
@@ -5,8 +5,8 @@ datatype = GetDatatype(handles);
ml          = GetMeasurementList(handles);

linecolorsAvailable  = maingui.axesData.SDPairColors;
linestylesAvailable  = {'-','--',':','-.'};
linewidthsAvailable   = [2, 2, 2.5, 2, 2];
linestylesAvailable  = {'-',':','-.','--'};
linewidthsAvailable   = [1.5, 2.0, 1.5, 1.5, 1.5];

linecolors  = zeros(length(iCh), 3);
linestyles  = cell(1, length(iCh));
+2 −2
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ function [lc,lv,lw,ls] = setLineProperties(lc,lv,lw,ls,idx,mlAct,color,nDataType
if mlAct(idx)==0  % Make manually and automaticaly pruned or disabled channels dotted
    ls{idx} = ':';
    for ii=1:nDataTypes
        lw(idx,ii) = 2.0;
        lw(idx,ii) = 1;
        lc(idx,ii,:) = color(ii,:);
        lv{idx,ii} = 'on';
    end
@@ -317,7 +317,7 @@ if mlAct(idx)==0 % Make manually and automaticaly pruned or disabled channels d
elseif mlAct(idx)==1
    ls{idx} = '-';
    for ii=1:nDataTypes
        lw(idx,ii) = 2.0;
        lw(idx,ii) = 1;
        lc(idx,ii,:) = color(ii,:);
        lv{idx,ii} = 'on';
    end
Loading