Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Add script to produce lap time histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Apr 25, 2012
1 parent 30eeca1 commit 05d0160
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/histogram.r
@@ -0,0 +1,12 @@
# Script to produce a histogram of lap times
lap_times <- read.csv('lap-times.csv', header = F)
lap_times <- round(lap_times)

print(lap_times)

pdf(file = 'lap-times.pdf')

hist(lap_times$V1, main = 'Lap time histogram',
xlab = 'Time (in s)', ylab = 'Frequency', col = 'lightblue')

dev.off()

0 comments on commit 05d0160

Please sign in to comment.