2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00
LaTeX-examples/documents/GeoTopo/figures/topology-paths-in-r2.tex

28 lines
982 B
TeX
Raw Normal View History

2013-12-03 14:59:22 +01:00
\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}
2013-12-03 14:59:22 +01:00
\end{tikzpicture}