aboutsummaryrefslogtreecommitdiffstats
path: root/utils/NightlyTest.gnuplot
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-18 20:07:54 +0000
committerChris Lattner <sabre@nondot.org>2003-08-18 20:07:54 +0000
commitc75b14e802e20e4d23318abcfb9d328644147217 (patch)
treec79933f182c9d210a3dfbbd99812351e85041fb3 /utils/NightlyTest.gnuplot
parent24eefd3f91f57e4fa71438bba789aeffa2116bf5 (diff)
downloadexternal_llvm-c75b14e802e20e4d23318abcfb9d328644147217.zip
external_llvm-c75b14e802e20e4d23318abcfb9d328644147217.tar.gz
external_llvm-c75b14e802e20e4d23318abcfb9d328644147217.tar.bz2
Add the magic incantations to get a running LOC graph updated each night...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NightlyTest.gnuplot')
-rw-r--r--utils/NightlyTest.gnuplot28
1 files changed, 28 insertions, 0 deletions
diff --git a/utils/NightlyTest.gnuplot b/utils/NightlyTest.gnuplot
new file mode 100644
index 0000000..b3f40e3
--- /dev/null
+++ b/utils/NightlyTest.gnuplot
@@ -0,0 +1,28 @@
+set terminal png
+
+##------- Plot small Date vs LOC ----
+set output "running_loc.png"
+set xlabel "Date" "TimesRoman,24"
+set ylabel "Lines of Code" "TimesRoman,24"
+set xdata time
+set timefmt "%Y-%m-%d:"
+set format x "%b %m, %Y"
+
+## Various labels for the graph
+set label "Removed\ndummy\nfunction" at "2003-07-30:", 150000
+
+set size .5,.5
+plot "running_loc.txt" using 1:2 title '', \
+ "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
+
+##------- Plot large Date vs LOC ----
+set size 1.5,1.5
+set output "running_loc_large.png"
+plot "running_loc.txt" using 1:2 title '', \
+ "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines
+
+
+# Delete all labels...
+set nolabel
+
+