Files
brueckenkurs/pearson0201.pgf
2024-12-23 07:42:39 +01:00

46 lines
1.4 KiB
Plaintext

\begin{tikzpicture}[scale=0.75]
\pgfplotsset{compat=1.11}
\definecolor{FireBrick}{rgb}{0.7, 0.13, 0.13}
\definecolor{NewBlue}{rgb}{0.27, 0.45, 0.76}
\tikzfading[name=arrowfading, top color=transparent!0, bottom color=transparent!95]
\tikzset{arrowfill/.style={#1,general shadow={fill=black, shadow yshift=-0.8ex, path fading=arrowfading}}}
\tikzset{arrowstyle/.style n args={3}{draw=#2,arrowfill={#3}, single arrow,minimum height=#1, single arrow,
single arrow head extend=.3cm,}}
%\NewDocumentCommand{\tikzfancyarrow}{O{2cm} O{FireBrick} O{top color=orange!20!red, bottom color=red} m}{
%\tikz[baseline=-0.5ex]\node [arrowstyle={#1}{#2}{#3}] {#4};
%}
%\node [
% fill=blue!50, draw,
% single arrow, single arrow head indent=0ex,
% rotate=0,
% font=\sffamily
%] at (1,1.5)
%{\rotatebox{0}{ \qquad}};
%\draw[color=gray!10,step=2mm,help lines] (-0.7,0) grid (72mm,58mm);
%\draw[color=gray!70,step=10mm,xshift=4mm,yshift=-1mm] (-0.5,0) grid (70mm,60mm);
\begin{axis}[
x=1cm,y=1cm,
axis lines=middle,
ymajorgrids=true,
xmajorgrids=true,
xmin=-5,
xmax=5,
ymin=-5,
ymax=5,
xtick={-5,-4,...,5},
ytick={-5,-4,...,5},]
%\clip(-17.083986586441775,-20.54798056618339) rectangle (4.103328404466779,7.349328615703948);
\draw [line width=1pt,color=orange,domain=-5:5] plot(\x,{(-0--1*\x)/1});
\draw [line width=1pt,color=orange,domain=-5:5] plot(\x,{(-0-1*\x)/1});
\end{axis}
\node[] (A) at ( 1,3) {\textbf{$y^2=x^2$}};
\end{tikzpicture}