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

The launch position TOA is now a filled circle that has the same color as the...

The launch position TOA is now a filled circle that has the same color as the soundsource it belongs to.
parent 02101389
No related branches found
No related tags found
No related merge requests found
166
\ No newline at end of file
167
\ No newline at end of file
......@@ -37,6 +37,8 @@ if isfield(artoaGui.editTimeOfArrival, 'axesToaFromGps') ...
% only update the color of the launch position
artoaGui.editTimeOfArrival.textToaFromGps.(fnames{o})(1).Color = soundsourceColor;
artoaGui.editTimeOfArrival.scatterLaunchToa.(fnames{o}).MarkerEdgeColor = soundsourceColor;
artoaGui.editTimeOfArrival.scatterLaunchToa.(fnames{o}).MarkerFaceColor = soundsourceColor;
for t = 2:length(artoaGui.editTimeOfArrival.textToaFromGps.(fnames{o}))
current = artoaGui.editTimeOfArrival.textToaFromGps.(fnames{o})(t);
......@@ -59,7 +61,6 @@ artoaGui.editTimeOfArrival.axesToaFromGps = axes(artoaGui.figures.editTimeOfArri
artoaGui.editTimeOfArrival.scatterToaFromGps = struct();
artoaGui.editTimeOfArrival.textToaFromGps = struct();
artoaGui.editTimeOfArrival.scatterLaunchToa = struct();
artoaGui.editTimeOfArrival.textLaunchToa = struct();
hold(artoaGui.editTimeOfArrival.axesToaFromGps, 'on');
......@@ -90,20 +91,8 @@ for o = 1:length(fnames)
xData(1), ...
yData(1), ...
50, ...
'MarkerEdgeColor', [0 1 0] ...
);
artoaGui.editTimeOfArrival.textLaunchToa.(fnames{o}) = text( ...
artoaGui.editTimeOfArrival.axesToaFromGps, ...
xData(1), ...
yData(1), ...
'X', ...
'HorizontalAlignment', 'center', ...
'VerticalAlignment', 'middle', ...
'FontName', 'Helvetica', ...
'FontSize', 10, ...
'FontWeight', 'demi', ...
'Color', [0 1 0] ...
'MarkerFaceColor', soundsourceColor, ...
'MarkerEdgeColor', soundsourceColor ...
);
% plot TOAs
......
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