Browse Source

gnuplot: added bmargin for plots that had rotated x labels cut off.

Heikki Hokkanen 18 years ago
parent
commit
1eb86dbf2c
2 changed files with 3 additions and 3 deletions
  1. 0
    3
      doc/TODO.txt
  2. 3
    0
      gitstats

+ 0
- 3
doc/TODO.txt View File

5
 	- git-log --pretty=format:"%at %an" |grep -C3 unknown
5
 	- git-log --pretty=format:"%at %an" |grep -C3 unknown
6
 	- git-rev-list (for number of files in each revision) says "Warning: failed to parse line "<unknown> 17741"
6
 	- git-rev-list (for number of files in each revision) says "Warning: failed to parse line "<unknown> 17741"
7
 
7
 
8
-[Bugs]
9
-- Graphs: vertical x labels get cut off
10
-
11
 [Unsorted]
8
 [Unsorted]
12
 - clean up after running gnuplot (option to keep .dat files around?)
9
 - clean up after running gnuplot (option to keep .dat files around?)
13
 - show raw data in some way (the tables used currently aren't very nice)
10
 - show raw data in some way (the tables used currently aren't very nice)

+ 3
- 0
gitstats View File

700
 set timefmt "%Y-%m"
700
 set timefmt "%Y-%m"
701
 set format x "%Y-%m"
701
 set format x "%Y-%m"
702
 set xtics rotate by 90 15768000
702
 set xtics rotate by 90 15768000
703
+set bmargin 5
703
 set ylabel "Commits"
704
 set ylabel "Commits"
704
 plot 'commits_by_year_month.dat' using 1:2:(0.5) w boxes fs solid
705
 plot 'commits_by_year_month.dat' using 1:2:(0.5) w boxes fs solid
705
 """)
706
 """)
730
 set format x "%Y-%m-%d"
731
 set format x "%Y-%m-%d"
731
 set ylabel "Files"
732
 set ylabel "Files"
732
 set xtics rotate by 90
733
 set xtics rotate by 90
734
+set bmargin 6
733
 plot 'files_by_date.dat' using 1:2 smooth csplines
735
 plot 'files_by_date.dat' using 1:2 smooth csplines
734
 """)
736
 """)
735
 		f.close()
737
 		f.close()
746
 set format x "%Y-%m-%d"
748
 set format x "%Y-%m-%d"
747
 set ylabel "Lines"
749
 set ylabel "Lines"
748
 set xtics rotate by 90
750
 set xtics rotate by 90
751
+set bmargin 6
749
 plot 'lines_of_code.dat' using 1:2 w lines
752
 plot 'lines_of_code.dat' using 1:2 w lines
750
 """)
753
 """)
751
 		f.close()
754
 		f.close()