-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplotData_CI_2.m
More file actions
28 lines (24 loc) · 1.27 KB
/
plotData_CI_2.m
File metadata and controls
28 lines (24 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
clear all;
clc;
close all;
load result
area = 1*1;
% figure;
errorbar(plotValueAlg1_200_time_new(1,:)/area, plotValueAlg1_200_time_new(2,:), plotValueAlg1_200_time_new(3,:), 'linewidth',1.5);
hold on;
errorbar(plotValueAlg1_phase1_200_Time(1,:)/area, plotValueAlg1_phase1_200_Time(2,:), plotValueAlg1_phase1_200_Time(3,:),'-r', 'linewidth',1.5);
hold on;
errorbar(plotValueAlg1_phase2_200_Time(1,:)/area, plotValueAlg1_phase2_200_Time(2,:), plotValueAlg1_phase2_200_Time(3,:),'-k', 'linewidth',1.5);
title('Simulation duration based on active link density','fontsize',10,'Fontname','Times New Roman','FontWeight','bold');
xlabel('Total Active Link Density in [links/cell])','fontsize',10,'Fontname','Times New Roman','FontWeight','bold');
ylabel('Simulation duration in [s]','fontsize',10,'Fontname','Times New Roman','FontWeight','bold');
grid on;
set(gca,'fontsize',10,'Fontname','Times New Roman','FontWeight','bold');
set(gca, 'LineWidth',1.5);
h = legend('Phase 1 + 2', 'Phase 1 Only', 'Phase 2 Only' ,'Location', 'NorthWest');
% hh = findobj('tag','legend')
% set(hh,'fontsize',30)
set(gcf, 'PaperPositionMode', 'manual');
set(gcf, 'PaperUnits', 'points');
set(gcf, 'PaperPosition', [0 0 560 300]);
print('-dpng','C:\Users\Mu\Desktop\MT\Thesis\Plots\Alg1TimeComparison.png','-r200');