Martin Thoma 11 gadi atpakaļ
vecāks
revīzija
ea3127a5f2

+ 5 - 4
tikz/bar-chart-simple/Makefile

@@ -1,14 +1,14 @@
 SOURCE = bar-chart-simple
 DELAY = 80
 DENSITY = 300
-WIDTH = 500
+WIDTH = 512
 
 make:
 	pdflatex $(SOURCE).tex -output-format=pdf
 	make clean
 
 clean:
-	rm -rf  $(TARGET) *.class *.html *.log *.aux
+	rm -rf  $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
 
 gif:
 	pdfcrop $(SOURCE).pdf
@@ -25,8 +25,9 @@ transparentGif:
 	make clean
 
 svg:
-	make
 	#inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
 	pdf2svg $(SOURCE).pdf $(SOURCE).svg
 	# Necessary, as pdf2svg does not always create valid svgs:
-	inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg
+	#inkscape $(SOURCE)1.svg --export-width=$(WIDTH) --export-plain-svg=$(SOURCE)1.svg
+	#rsvg-convert -a -w 720 -f svg $(SOURCE)1.svg -o $(SOURCE).svg
+	#rm $(SOURCE)1.svg

+ 3 - 0
tikz/bar-chart-simple/README.md

@@ -0,0 +1,3 @@
+Compiled example
+----------------
+![Example](bar-chart-simple.png)

BIN
tikz/bar-chart-simple/bar-chart-simple.png