mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-18 19:18:21 +02:00
The commands find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ and find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ were used to do so.
27 lines
982 B
TeX
27 lines
982 B
TeX
\begin{tikzpicture}
|
|
\begin{axis}[
|
|
legend pos=south west,
|
|
axis x line=middle,
|
|
axis y line=middle,
|
|
%grid = major,
|
|
width=9cm,
|
|
height=9cm,
|
|
grid style={dashed, gray!30},
|
|
xmin=-2, % start the diagram at this x-coordinate
|
|
xmax= 1, % end the diagram at this x-coordinate
|
|
ymin=-1, % start the diagram at this y-coordinate
|
|
ymax= 5, % end the diagram at this y-coordinate
|
|
%axis background/.style={fill=white},
|
|
%xlabel=$x$,
|
|
%ylabel=$y$,
|
|
ticks=none,
|
|
%tick align=outside,
|
|
%minor tick num=-3,
|
|
enlargelimits=true,
|
|
tension=0.08]
|
|
\addplot[mark=none, orange, smooth cycle, thick, tension=1, dashed] coordinates {%
|
|
(0,0) (-1,1) (-2,2) (-1,3) (0, 3) (1, 4)};
|
|
\addplot[mark=none, blue, smooth cycle, thick, tension=3] coordinates {%
|
|
(0,0) (-1,1) (-2,2) (-1,3) (0, 3) (1, 4)};
|
|
\end{axis}
|
|
\end{tikzpicture}
|