Skip to content
Snippets Groups Projects
Commit d2a6e142 authored by Yves Gouriou's avatar Yves Gouriou
Browse files

Desactive les boutons de zoom et pan quand la fonction QC est appelee

parent 5f95da5f
No related branches found
No related tags found
No related merge requests found
......@@ -781,6 +781,8 @@ end
% ----------------------------------
zoom off; pan off;
panAdaptiveDateTicks('off');zoomAdaptiveDateTicks('off');
set(hZoomToggletool, 'state', 'off' );
set(hPanToggletool, 'state', 'off' );
% Activate right clic context menu on first axes (salinity)
% ---------------------------------------------------------
......@@ -823,7 +825,7 @@ end
% get index on selected zone
% ---------------------------
ind = find(tsg.DAYD > p1(1,1) & tsg.DAYD < p2(1,1) & ...
tsg.SSPS > p1(1,2) & tsg.SSPS < p2(1,2));
tsg.SSPS > p1(1,2) & tsg.SSPS < p2(1,2));
tsg.SSPS_QC(ind) = tsg.qc.active.Code;
......@@ -877,7 +879,7 @@ end
tsg.qc.active.Color = color;
setappdata( hMainFig, 'tsg_data', tsg );
end
%---------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment