~lukas-kde/miral/shellchrome-windowinfo

« back to all changes in this revision

Viewing changes to miral-qt/benchmarks/touch_event_latency.R

  • Committer: Larry Price
  • Date: 2016-09-13 16:19:29 UTC
  • mto: (330.4.1 miral)
  • mto: This revision was merged to the branch mainline in revision 352.
  • Revision ID: larry.price@canonical.com-20160913161929-vs9ka1capmljq1es
Removing miral-qt from release branch, updating copyright file, and adding GPL3 license to root dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
args <- commandArgs(trailingOnly = TRUE)
2
 
data <- scan(args[1], numeric(), sep=",")
3
 
colors = c("red", "yellow", "green", "violet", "orange", "pink", "blue")
4
 
png(filename=args[2])
5
 
hist(data, breaks=max(data), col=colors)
6
 
dev.off()