Skip to content
Snippets Groups Projects
Commit 00f6dbe4 authored by Murat Ambarkutuk's avatar Murat Ambarkutuk :robot:
Browse files

update figures

parent 931be7a7
Branches
No related merge requests found
Showing
with 52249 additions and 51991 deletions
......@@ -78,20 +78,20 @@ pdfs(3, :) = f;
cdfs(3, :) = cumtrapz(e_space, f);
cdfs(3, :) = cdfs(3, :) / max(cdfs(3, :));
figure('Units', 'inches', 'OuterPosition', [0 0 5 3]);
figure('Units', 'inches', 'InnerPosition', [0 0 5 3]);
boxplot(normed_errors, names); grid on; grid minor; ylabel("Error [m]"); title("Normed Localization Error");
ylim([-5 15]);
exportgraphics(gcf, "../manuscript/figs/occupant-1/boxplot.eps");
% figure; scatter(normed_errors(:, i), normed_errors(:, 5), 'k.'); hold on; plot(0:15, 0:15, 'r-.'); axis equal; axis tight; grid on; grid minor;
figure('Units', 'inches', 'OuterPosition', [0 0 3 3]);
figure('Units', 'inches', 'InnerPosition', [0 0 3 3]);
plot(e_space, pdfs(1, :), e_space, pdfs(2, :), ...
e_space, pdfs(end, :));
grid on; grid minor;
xlabel("Localization Error [m]"); ylabel("Frequency"); title("Empirical PDF of Localization Error");
legend(["Proposed-1", "Proposed-2", "Baseline", "Random Guess"]);
exportgraphics(gcf, '../manuscript/figs/occupant-1/epdf.eps');
figure('Units', 'inches', 'OuterPosition', [0 0 3 3]);
figure('Units', 'inches', 'InnerPosition', [0 0 3 3]);
plot(e_space, cdfs(1, :), e_space, cdfs(2, :), ...
e_space, cdfs(end, :));
grid on; grid minor;
......@@ -99,14 +99,6 @@ xlabel("Localization Error [m]"); ylabel("Probability"); title("Empirical CDF of
legend(["Proposed-1", "Proposed-2", "Baseline"], "Location", "southeast");
exportgraphics(gcf, '../manuscript/figs/occupant-1/ecdf.eps');
figure('Units', 'inches', 'OuterPosition', [0 0 3 3]);
plot(e_space, pdfs(1, :), e_space, pdfs(2, :), ...
e_space, pdfs(end, :));
grid on; grid minor;
xlabel("Localization Error [m]"); ylabel("Frequency"); title("Empirical PDF of Localization Error");
legend(["Proposed-1", "Proposed-2", "Baseline"]);
exportgraphics(gcf, '../manuscript/figs/occupant-1/epdf.eps');
figure('Units', 'inches', 'InnerPosition', [0 0 3 3]); hold on;
scatter(experiment.groundtruth(1, :), results_all(:, 1, 1), 'kx');
% scatter(experiment.groundtruth(1, :), x_baseline(1, :), 'rx');
......@@ -141,6 +133,7 @@ scatter(experiment.groundtruth(1, :), results_all(:, 1, 2), '+');
scatter(experiment.groundtruth(1, :), x_baseline(1, :), '.');
plot(5:0.1:40, 5:0.1:40, 'k-.')
grid on; grid minor; axis equal;
xlim([5, 40]); ylim([5, 40]);
xlabel("True $x$"); ylabel("Measured $x$");
legend("Proposed-1", "Proposed-2", "Baseline")
exportgraphics(gcf, '../manuscript/figs/occupant-1/proposed-x.eps');
......@@ -150,8 +143,9 @@ figure('Units', 'inches', 'InnerPosition', [0 0 3 3]); hold on;
scatter(experiment.groundtruth(2, :), results_all(:, 2, 1), 'x');
scatter(experiment.groundtruth(2, :), results_all(:, 2, 2), '+');
scatter(experiment.groundtruth(2, :), x_baseline(2, :), '.');
plot(25:0.1:35, 25:0.1:35, 'k-.')
plot(29:0.1:35, 29:0.1:35, 'k-.')
grid on; grid minor; axis equal;
xlim([29, 35]); ylim([29, 35])
xlabel("True $y$"); ylabel("Measured $y$");
legend("Proposed-1", "Proposed-2", "Baseline")
exportgraphics(gcf, '../manuscript/figs/occupant-1/proposed-y.eps');
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment