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

Bugfix, colorizeSegmentSelectedTrajectory was wrong.

parent fd577176
No related branches found
No related tags found
No related merge requests found
144
\ No newline at end of file
145
\ No newline at end of file
......@@ -35,19 +35,6 @@ if ~isnan(artoaWorkspace.trajectoryOutput.tableGeneratedTracksSelectedRow)
trajectoryColors = jet(round(length(trajectory.segmentSize) * 1.5));
startIndex = 1;
for i = 1:length(trajectory.segmentSize)
artoaGui.trajectoryOutput.colorizedSegments.lineSegments{i} = ...
line( ...
artoaGui.trajectoryOutput.axesTrajectoryOutput, ...
trajectory.longitude(startIndex:startIndex + trajectory.segmentSize(i) - 1), ...
trajectory.latitude(startIndex:startIndex + trajectory.segmentSize(i) - 1), ...
'Color', fliplr(trajectoryColors(i, :)), ...
'LineWidth', 1.2 ...
);
% plot lines in toa plot if available
if artoa.data.hasMember(artoaGui, {'figures', 'editTimeOfArrival'}) ...
|| ~ishandle(artoaGui.figures.editTimeOfArrival)
continue;
end
artoaGui.trajectoryOutput.colorizedSegments.lineSegments{i} = ...
line( ...
artoaGui.trajectoryOutput.axesTrajectoryOutput, ...
......
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