diff options
| author | alex <aletu130@student.liu.se> | 2019-10-20 15:54:33 +0200 |
|---|---|---|
| committer | alex <aletu130@student.liu.se> | 2019-10-20 15:54:33 +0200 |
| commit | 13f22ba6b4a6e530be779ef96d71850e767e9366 (patch) | |
| tree | 04840aaf2a896a65c8cd2005fcc2019c96f0a6fb /Kod/bilbana/Graph/segment_time_graph.m | |
| parent | 483d5184a309a396be7310afcddb913d9e24efe2 (diff) | |
| parent | 7978f8c42029b59e479ec918b67d968b1385081c (diff) | |
| download | tfyy51-13f22ba6b4a6e530be779ef96d71850e767e9366.tar.gz | |
Merge branch 'freeze'
Diffstat (limited to 'Kod/bilbana/Graph/segment_time_graph.m')
| -rw-r--r-- | Kod/bilbana/Graph/segment_time_graph.m | 15 |
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..602938b --- /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. +seg_time_size = size(seg_time); +avr_seg_time = mean(seg_time(1:(seg_time_size(1) - 1), 1:(seg_time_size(2)))); +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 + |
