diff --git a/img/plt/examplePlot.pdf b/img/plt/examplePlot.pdf index b005933eb7f348bf50c462f9d189f50631931c8d..a4a9fbf87a36470985419f784a2adb7de45eac60 100644 --- a/img/plt/examplePlot.pdf +++ b/img/plt/examplePlot.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:693092ea50209f025f9fca061e98e89e3dc5f0e83750358d56165a2412c6f3da -size 152618 +oid sha256:e29d2878eefd44480fd889cbe44e64618fcc90a7506f1e8db86375740350527d +size 155726 diff --git a/img/plt/examplePlot.tex b/img/plt/examplePlot.tex index 797219b06c75128599e444e4cb8315725a8fde79..a4fb6bb8376df23c57fd4576d8d40ee2ce2ec3ae 100644 --- a/img/plt/examplePlot.tex +++ b/img/plt/examplePlot.tex @@ -31,4 +31,13 @@ \end{axis} \end{tikzpicture} +\begin{tikzpicture} + \begin{axis}[ + MyPlots, % custom styling + enlarge x limits=false, + ] + \addplot[domain=-1:1,samples=200] {1/x}; + \end{axis} +\end{tikzpicture} + \end{document} diff --git a/src/HsH-classes.cfg b/src/HsH-classes.cfg index 90d9e5fe30e0db3ea7463b3dd691e9a2d88f0b02..a8c77faf00ae791206e132d897e4dc11b2b0d590 100644 --- a/src/HsH-classes.cfg +++ b/src/HsH-classes.cfg @@ -59,12 +59,12 @@ \pgfplotsset{ compat=1.16, /pgf/number format/read comma as period, - every tick label/.append style={font=\tiny}, - every axis legend/.append style={font=\footnotesize}, + tick label style={font=\tiny}, + legend style={font=\footnotesize}, MyPlots/.style = { % Style for all plots width=.6\textwidth, grid=major, - grid style={dashed,gray!50}, + grid style={loosely dotted,gray!50}, legend pos=outer north east, FM1/.style = {blue, thick, mark=x, mark size=1.5,samples=100}, % Format 1 FM2/.style = {orange, thick, mark=*, mark size=1,samples=100}, % Format 2