make the chart prettier
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 12 KiB |
@ -20,7 +20,7 @@ if (nrow(players) > 0) {
|
|||||||
|
|
||||||
png(file = paste("out/", paste(filename, ".png", sep = ""), sep = ""))
|
png(file = paste("out/", paste(filename, ".png", sep = ""), sep = ""))
|
||||||
|
|
||||||
plot(time_series, main = name, yaxt = "n")
|
plot(time_series, main = name, yaxt = "n", col = "blue", ylab = "Coins", xlab = "Time (s)")
|
||||||
|
|
||||||
axis(2, pretty(c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), n = 12))
|
axis(2, pretty(c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), n = 12))
|
||||||
}
|
}
|
||||||
|