summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/Graph/segment_time_graph.m
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-10-20 15:18:32 +0200
committerGustav Sörnäs <gusso230@student.liu.se>2019-10-20 15:18:32 +0200
commit6df379fff94b917a1f20f9b7ce19b38d139cfffc (patch)
tree67ffe6e923b93424a927d12a4cadfba55ff48d11 /Kod/bilbana/Graph/segment_time_graph.m
parente7ba072cd76bbfc1a5393272df20cebb1d83e56b (diff)
parent9b4f8212b1d86fb5263009b3d2ad48012048e132 (diff)
downloadtfyy51-6df379fff94b917a1f20f9b7ce19b38d139cfffc.tar.gz
Merge remote-tracking branch 'origin/freeze_albin' into freeze
Diffstat (limited to 'Kod/bilbana/Graph/segment_time_graph.m')
-rw-r--r--Kod/bilbana/Graph/segment_time_graph.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/Kod/bilbana/Graph/segment_time_graph.m b/Kod/bilbana/Graph/segment_time_graph.m
new file mode 100644
index 0000000..f88c836
--- /dev/null
+++ b/Kod/bilbana/Graph/segment_time_graph.m
@@ -0,0 +1,15 @@
+function [] = segment_time_graph(seg_time,track)
+%SEGMENT_TIME_GRAPH Snittid för varje segment.
+
+avr_seg_time = mean(seg_time);
+subplot(20,1,13:20);
+
+Plot = bar(avr_seg_time);
+%Plot.Marker = 'o';
+Plot.FaceColor = 'k';
+xlabel('Segment');
+ylabel('Tid [s]');
+Tit = join(['Medeltid/segment bana',string(track)]);
+title(Tit);
+end
+