2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

Make y-axis tick labels fixed precision of 2

This commit is contained in:
Martin Thoma 2016-05-28 07:56:37 +02:00
parent 67206f6a2f
commit 23207e7040
2 changed files with 10 additions and 6 deletions

View file

@ -1,10 +1,9 @@
SOURCE = sigmoid-function-2
DELAY = 80
DENSITY = 300
WIDTH = 500
WIDTH = 512
make:
pdflatex $(SOURCE).tex -output-format=pdf
pdflatex $(SOURCE).tex -output-format=pdf
make clean
@ -29,4 +28,6 @@ svg:
#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).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