diff --git a/Browsing Functions/AtlasTransformBrowser.m b/Browsing Functions/AtlasTransformBrowser.m index 297760c..f307164 100644 --- a/Browsing Functions/AtlasTransformBrowser.m +++ b/Browsing Functions/AtlasTransformBrowser.m @@ -190,6 +190,11 @@ function hotkeyFcn(f, slice_figure, keydata, allData, save_location, save_suffix disp(['probe point mode -- selecting probe ' num2str(ud.currentProbe) ' (' ud.ProbeColor{ud.currentProbe} ')']); ud.getPoint_for_transform = false; + try + set(ud.pointHands_for_transform(:), 'Visible', 'off'); + ud.pointsText.Visible = 'off'; + catch + end % show Transformed Slice & Probage Viewer, if not already showing if ~ud.slice_at_shift_start; add = 1; else; add = 0; end diff --git a/Browsing Functions/sliceBrowser.m b/Browsing Functions/sliceBrowser.m index 654dc81..df8ac47 100644 --- a/Browsing Functions/sliceBrowser.m +++ b/Browsing Functions/sliceBrowser.m @@ -61,7 +61,8 @@ function sliceClickCallback(im, keydata) clickY = round(keydata.IntersectionPoint(2)); ud.pointList(end+1, :) = [clickX, ud.ref_size(1) - clickY]; - ud.pointHands(end+1) = plot(ud.sliceAx, clickX, clickY, 'ro', 'color', [0 .5 0],'linewidth',2,'markers',4); + set(ud.pointHands,'Color',[.7 .3 .3]) + ud.pointHands(end+1) = plot(ud.sliceAx, clickX, clickY, 'o', 'color', [0 .9 0],'linewidth',2,'markers',4); if clickX < 100 && (ud.ref_size(1) - clickY) < 100 % if click in corner, break ud.pointList = []; @@ -134,6 +135,7 @@ function SliceAtlasHotkeyFcn(fig, keydata, f) function ud = updateSliceImage(ud) + %TODO occasionally pointList has more items than pointHands title_ending = ''; @@ -169,6 +171,8 @@ function SliceAtlasHotkeyFcn(fig, keydata, f) for i = 1:size(ud.pointList,1) ud.pointHands(end+1) = plot(ud.sliceAx, ud.pointList(i,1), ud.ref_size(1) - ud.pointList(i,2), 'ro', 'color', [0 .5 0],'linewidth',2,'markers',4); end + set(ud.pointHands(end),'color', [0 .9 0]); + title_ending = ' (transform points loaded)'; end end