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/2d-semicubical-parabola.tex

33 lines
1.2 KiB
TeX
Raw Normal View History

2013-11-14 18:28:32 +01:00
\begin{tikzpicture}
\begin{axis}[
legend pos=south east,
axis x line=middle,
axis y line=middle,
grid = major,
%width=9cm,
%height=4.5cm,
grid style={dashed, gray!30},
xmin= 0, % start the diagram at this x-coordinate
xmax= 12, % end the diagram at this x-coordinate
ymin=-10, % start the diagram at this y-coordinate
ymax= 10, % end the diagram at this y-coordinate
%axis background/.style={fill=white},
xlabel=$x$,
ylabel=$y$,
%xticklabels={-2,-1.6,...,7},
tick align=outside,
%minor tick num=-3,
enlargelimits=true]
\addplot[domain=0:12, red, thick,samples=500] {1/3*x^1.5};
\addplot[domain=0:12, dotted, orange, thick,samples=500] {1*x^1.5};
\addplot[domain=0:12, dashed, blue, thick,samples=500] {2*x^1.5};
2013-11-14 18:28:32 +01:00
\addplot[domain=0:12, red, thick,samples=500] {-1/3*x^1.5};
\addplot[domain=0:12, dotted, orange, thick,samples=500] {-1*x^1.5};
\addplot[domain=0:12, dashed, blue, thick,samples=500] {-2*x^1.5};
2013-11-14 18:28:32 +01:00
\addlegendentry{$a=\frac{1}{3}$}
\addlegendentry{$a=1$}
\addlegendentry{$a=2$}
\end{axis}
2013-11-14 18:28:32 +01:00
\end{tikzpicture}