Kaynağa Gözat

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

Heikki Hokkanen 18 yıl önce
ebeveyn
işleme
1eb86dbf2c
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 0
    3
      doc/TODO.txt
  2. 3
    0
      gitstats

+ 0
- 3
doc/TODO.txt Dosyayı Görüntüle

@@ -5,9 +5,6 @@
5 5
 	- git-log --pretty=format:"%at %an" |grep -C3 unknown
6 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 8
 [Unsorted]
12 9
 - clean up after running gnuplot (option to keep .dat files around?)
13 10
 - show raw data in some way (the tables used currently aren't very nice)

+ 3
- 0
gitstats Dosyayı Görüntüle

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