Chris Lattner | c75b14e | 2003-08-18 20:07:54 +0000 | [diff] [blame] | 1 | set terminal png |
| 2 | |
| 3 | ##------- Plot small Date vs LOC ---- |
| 4 | set output "running_loc.png" |
| 5 | set xlabel "Date" "TimesRoman,24" |
| 6 | set ylabel "Lines of Code" "TimesRoman,24" |
| 7 | set xdata time |
| 8 | set timefmt "%Y-%m-%d:" |
Chris Lattner | fdaac9e | 2003-08-20 15:33:33 +0000 | [diff] [blame^] | 9 | set format x "%b %d, %Y" |
Chris Lattner | c75b14e | 2003-08-18 20:07:54 +0000 | [diff] [blame] | 10 | |
| 11 | ## Various labels for the graph |
| 12 | set label "Removed\ndummy\nfunction" at "2003-07-30:", 150000 |
| 13 | |
Chris Lattner | 8ab0a01 | 2003-08-19 14:27:44 +0000 | [diff] [blame] | 14 | set size .75,.75 |
Chris Lattner | c75b14e | 2003-08-18 20:07:54 +0000 | [diff] [blame] | 15 | plot "running_loc.txt" using 1:2 title '', \ |
| 16 | "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines |
| 17 | |
| 18 | ##------- Plot large Date vs LOC ---- |
| 19 | set size 1.5,1.5 |
| 20 | set output "running_loc_large.png" |
| 21 | plot "running_loc.txt" using 1:2 title '', \ |
| 22 | "running_loc.txt" using 1:2 title "Date vs. Lines of Code" with lines |
| 23 | |
| 24 | |
| 25 | # Delete all labels... |
| 26 | set nolabel |
| 27 | |
| 28 | |