Skip to content
Snippets Groups Projects
Commit 27f9b4b4 authored by leprob001's avatar leprob001
Browse files

The minimum x limit is now based on the launch date of the float.

parent cac3180a
No related branches found
No related tags found
No related merge requests found
300
\ No newline at end of file
301
\ No newline at end of file
......@@ -74,15 +74,6 @@ artoaGui.editTimeOfArrival.scatterTimeOfArrival = scatter( ...
artoaGui.editTimeOfArrival.axesScatterTimeOfArrival.XLim, ...
artoaGui.editTimeOfArrival.axesScatterTimeOfArrival.YLim ...
] = artoa.data.getToaLimits(artoaWorkspace, ~artoaWorkspace.hideDeletedDataPoints);
% add buffer to x and y axis
xlim = artoaGui.editTimeOfArrival.axesScatterTimeOfArrival.XLim;
xlim(1) = xlim(1) - 10;
xlim(2) = xlim(2) + 10;
artoaGui.editTimeOfArrival.axesScatterTimeOfArrival.XLim = xlim;
ylim = artoaGui.editTimeOfArrival.axesScatterTimeOfArrival.YLim;
ylim(1) = ylim(1) - 60;
ylim(2) = ylim(2) + 60;
artoaGui.editTimeOfArrival.axesScatterTimeOfArrival.YLim = ylim;
artoaGui.editTimeOfArrival.axesScatterTimeOfArrival.CLim = ...
[ ...
......
......@@ -17,8 +17,8 @@ end
selection = repmat(temperatureSelection & pressureSelection, pWorkspace.float.toaperphase, 1);
toaLimits = [min(pWorkspace.toaData.toa(selection)), max(pWorkspace.toaData.toa(selection))];
rafosLimits = [min(pWorkspace.toaData.toaDate(selection)), max(pWorkspace.toaData.toaDate(selection))];
toaLimits = [min(pWorkspace.toaData.toa(selection)) - 60, max(pWorkspace.toaData.toa(selection)) + 60];
rafosLimits = [artoa.convert.datevec2rd([pWorkspace.float.launchtime, 0]) - 10, max(pWorkspace.toaData.toaDate(selection)) + 10];
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