mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Fixed precision
This commit is contained in:
parent
094ad96eeb
commit
67206f6a2f
2 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
SOURCE = sigmoid-function
|
||||
DELAY = 80
|
||||
DENSITY = 300
|
||||
WIDTH = 500
|
||||
WIDTH = 512
|
||||
|
||||
make:
|
||||
pdflatex $(SOURCE).tex -output-format=pdf
|
||||
|
@ -28,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
|
||||
|
|
|
@ -9,6 +9,12 @@
|
|||
legend pos=north west,
|
||||
axis x line=middle,
|
||||
axis y line=middle,
|
||||
x tick label style={/pgf/number format/fixed,
|
||||
/pgf/number format/fixed zerofill,
|
||||
/pgf/number format/precision=1},
|
||||
y tick label style={/pgf/number format/fixed,
|
||||
/pgf/number format/fixed zerofill,
|
||||
/pgf/number format/precision=1},
|
||||
grid = major,
|
||||
width=16cm,
|
||||
height=8cm,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue