diff --git a/@miSim/miSim.m b/@miSim/miSim.m index dd1d75b..4b47798 100644 --- a/@miSim/miSim.m +++ b/@miSim/miSim.m @@ -21,6 +21,8 @@ classdef miSim artifactName = ""; f; % main plotting tiled layout figure fPerf; % performance plot figure + % Indicies for various plot types in the main tiled layout figure + spatialPlotIndices = [6, 4, 3, 2]; end properties (Access = private) @@ -41,7 +43,6 @@ classdef miSim trailPlot; % objects for agent trail plot % Indicies for various plot types in the main tiled layout figure - spatialPlotIndices = [6, 4, 3, 2]; objectivePlotIndices = [6, 4]; networkGraphIndex = 5; partitionGraphIndex = 1; diff --git a/aerpaw/results/resultsAnalysis.m b/aerpaw/results/resultsAnalysis.m index 9e0afda..1255096 100644 --- a/aerpaw/results/resultsAnalysis.m +++ b/aerpaw/results/resultsAnalysis.m @@ -59,8 +59,10 @@ comparison = figure; copyobj(sim.f.Children, comparison); % Plot trajectories on top -hold(comparison.Children.Children(end), "on"); for ii = 1:size(G, 1) - plot3(comparison.Children(1).Children(end), G{ii}.East, G{ii}.North, G{ii}.Up + seaToGroundLevel, 'Color', 'r', 'LineWidth', 1); -end -hold(comparison.Children.Children(end), "off"); \ No newline at end of file + for jj = 1:size(sim.spatialPlotIndices, 2) + hold(comparison.Children.Children(sim.spatialPlotIndices(jj)), "on"); + plot3(comparison.Children(1).Children(sim.spatialPlotIndices(jj)), G{ii}.East, G{ii}.North, G{ii}.Up + seaToGroundLevel, 'Color', 'r', 'LineWidth', 1); + hold(comparison.Children.Children(sim.spatialPlotIndices(jj)), "off"); + end +end \ No newline at end of file diff --git a/resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/hUjTM8Yelb7ggxXFg7nBPm4NKQod.xml b/resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/hUjTM8Yelb7ggxXFg7nBPm4NKQod.xml new file mode 100644 index 0000000..4356a6a --- /dev/null +++ b/resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/hUjTM8Yelb7ggxXFg7nBPm4NKQod.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/hUjTM8Yelb7ggxXFg7nBPm4NKQop.xml b/resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/hUjTM8Yelb7ggxXFg7nBPm4NKQop.xml new file mode 100644 index 0000000..5c09e47 --- /dev/null +++ b/resources/project/qaw0eS1zuuY1ar9TdPn1GMfrjbQ/hUjTM8Yelb7ggxXFg7nBPm4NKQop.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/t1.zip b/t1.zip new file mode 100644 index 0000000..fe02327 Binary files /dev/null and b/t1.zip differ