You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
%% Code for Johnston and Painter to plot relevant information. Called by Homing_Script.m.
figure(3); hold on; plot(tSave,xPosition(:,:,1)); title('Average X Position'); xlabel('Time'); ylabel('Average X Position'); box on;
figure(4); hold on; plot(tSave,clusterMeasure); title('Measure of Clustering'); xlabel('Time'); ylabel('Measure of Clustering'); box on;
figure(5); hold on; plot(tSave,distanceToGoal.all(3:end)); title('Average Distance to Goal'); xlabel('Time'); ylabel('Average Distance to Goal'); box on;
figure(6); hold on; plot(tSave,(meanNeighbours.all(3:end))./nIndividualsRemaining.all(3:end)); title('Average Proportion of Neighbours'); xlabel('Time'); ylabel('Average Proportion of Neighbours'); box on;
figure(8); hold on; plot(tSave,nIndividualsRemaining.all(3:end)/nIndividualsStart); title('Proportion of Individuals Remaining'); xlabel('Time'); ylabel('Proportion of Individuals Remaining'); box on;
figure(9); hold on; plot(tSave,nIndividualsRemaining.all(3:end)); title('Number of Individuals Remaining'); xlabel('Time'); ylabel('Number of Individuals Remaining'); box on;
figure(10); hold on; plot(linspace(-pi,pi,nHistDirection-1),directionHist.all(3:end)'/sum(sum(directionHist.all(3:end)))); xlim([-pi pi]); title('Distribution of Angles'); xlabel('Angle'); ylabel('Frequency'); box on;