User:Carstenvogel

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Grafik mit LaTeX/PSTricks unter texlive mit TeXmaker

[edit]

Zenit und Nadir

[edit]

Schema: Zenit und Nadir

\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}

\usepackage{pst-plot}
\usepackage{multido}
\usepackage{textcomp}

\renewcommand{\familydefault}{\sfdefault}
\newpsstyle{temp}{linecolor=red}
\newpsstyle{description}{linecolor=black,linewidth=.03}
\newpsstyle{support}{linecolor=gray,linewidth=.04,linestyle=dotted}
\newpsstyle{active}{linecolor=blue,linewidth=.03}

\begin{document}
\begin{pspicture}(-5,-5)(5,5)
\psframe[style=temp](-5,-5)(5,5)

\psline[style=support](4;90)
\psline[style=support](4;-90)
\psdot[style=description,dotstyle=x](4;90)
\uput[0](4;90){Zenit (Z)}
\psdot[style=description,dotstyle=x](4;-90)
\uput[0](4;-90){Nadir (Na)}

%\pscircle[style=support](0,.35){.35}

\psline[style=description](-3,0)(3,0)
\psline(.15,0)(0,.35)(-.15,0)
\psline(0,.35)(0,.58)
\psline(.25,.6)(0,.5)(-.25,.6)
\pscircle(0,.64){.06}

\psline[style=active](.1,.64)(2,.64)
\psline[style=active,arrows=->](0,.75)(0,3)
\psarc[style=active,arrows=->](0,.64){.5}{0}{90}

%\psline[style=description](.3,.8)(1,1)
\uput[0](.3,1.2){\color{blue}$90^\circ$}

\end{pspicture}
\end{document}

Transformation Polarkoordinaten in kartesische Koordinaten

[edit]

Transformation von Polarkoordinaten

\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}

\usepackage{pstricks}
\usepackage{multido}
\usepackage{textcomp}

\newpsstyle{polarsys}{linecolor=black!30}
\newpsstyle{active}{linecolor=blue,linewidth=.05,dotstyle=+}
\def\labelFont{\Large\sffamily}
\def\labelFontActive{\Large\sffamily\color{blue}}


\begin{document}
\begin{pspicture}(-9,-9)(9,9)
\multido{\n=1.0+1.0,\i=1+1}{6}{%
	\pscircle[style=polarsys](0,0){\n}
	\uput[-45](\n,0){\labelFont{}\i}
}%multido
\multido{\i=0+30}{12}{%
	\psline[style=polarsys](7;\i)
	\uput[\i](7;\i){\labelFont{}\i°}
}%multido
\psline[style=active](6.5;0)(0,0)(5;60)
\uput[135](2.5;60){\labelFontActive{}$\mathsf{r=5}$}
\psdot[style=active](5;60)

\uput[0](5;60){\labelFontActive$\mathsf{P(r;\phi)=P(5;60^\circ)}$}
\psarc[style=active,arrows=->](0,0){1.5}{0}{60}
\uput[30](1.4;30){\labelFontActive$\mathsf{\phi=60^\circ}$}
\end{pspicture}

\newpsstyle{activeR}{linecolor=red,linewidth=.05,dotstyle=+}
\def\labelFontActiveR{\Large\sffamily\color{red}}

\begin{pspicture}(-9,-9)(9,9)
\multido{\n=1.0+1.0,\i=1+1}{6}{%
	\pscircle[style=polarsys](0,0){\n}
	\uput[-45](\n,0){\labelFont{}\i}
}%multido
\multido{\i=0+30}{12}{%
	\psline[style=polarsys](7;\i)
	\uput[\i](7;\i){\labelFont{}\i°}
}%multido
\psline[style=active](6.5;0)(0,0)(5;60)
\uput[135](2.5;60){\labelFontActive{}$\mathsf{r=5}$}
\psdot[style=activeR](5;60)
\uput[0](5;60){\labelFontActiveR$\mathsf{P(x,y)=P\left(\frac{5}{2},\frac{5\sqrt{3}}{2}\right)}$}
\psarc[style=active,arrows=->](0,0){1.5}{0}{60}

\psline[style=activeR](5;60)(!60 cos 5 mul 0)
\uput[0](!60 cos 5 mul  60 sin 2.5 mul){\labelFontActiveR$\mathsf{y=r\cdot\sin(\phi)}$}
\psline[style=activeR](5;60)(!0 60 sin 5 mul)
\uput[90](!60 cos 2.5 mul 60 sin 5 mul){\labelFontActiveR$\mathsf{x=r\cdot\cos(\phi)}$}

\uput[30](1.4;30){\labelFontActive$\mathsf{\phi=60^\circ}$}
\end{pspicture}

\end{document}

Gleichförmig beschleunigte Bewegung

[edit]

Gleichförmig beschleunigte Bewegung

\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}

\usepackage{pst-plot}
\usepackage{multido}
\usepackage{textcomp}

\newpsstyle{sys}{linecolor=black!30,arrowinset=0,arrowlength=3,arrowsize=.17}
\newpsstyle{active}{linecolor=blue,linewidth=.05}

\def\labelFont{\Large\sffamily}
\def\labelFontActive{\Large\sffamily\color{blue}}

\begin{document}
\begin{pspicture}(-2,-1)(6,7)\psframe(-2,-1)(6,7)
\psline[style=sys]{->}(0,-.5)(0,6)
\uput[180](0,6){\labelFont$\mathsf{s}$}
\psline[style=sys]{->}(-.5,0)(5,0)
\uput[-90](5,0){\labelFont$\mathsf{t}$}
\psline[style=sys](-.1,2.5)(0,2.5)
\uput[180](-.1,2.5){\labelFont$\mathsf{50\,m}$}
\psline[style=sys](-.1,5)(0,5)
\uput[180](-.1,5){\labelFont$\mathsf{100\,m}$}
\psline[style=sys](2,0)(2,-.1)
\uput[-90](2,-.1){\labelFont$\mathsf{5\,s}$}
\psline[style=sys](4,0)(4,-.1)
\uput[-90](4,-.1){\labelFont$\mathsf{10\,s}$}
\psplot{0}{4.4}{x 5 mul 9 div dup mul}
%\psline[linestyle=dotted,linecolor=red](4,0)(4,5)(0,5)
%\psline[linestyle=dotted,linecolor=red](5,0)(5,6)(0,6)
\end{pspicture}

\begin{pspicture}(-2,-1)(6,7)\psframe(-2,-1)(6,7)
\psline[style=sys]{->}(0,-.5)(0,6)
\uput[180](0,6){\labelFont$\mathsf{v}$}
\psline[style=sys]{->}(-.5,0)(5,0)
\uput[-90](5,0){\labelFont$\mathsf{t}$}

\psline[style=sys](-.1,1.25)(0,1.25)
\uput[180](-.1,1.25){\labelFont$\mathsf{10\,\frac{m}{s}}$}

\psline[style=sys](-.1,2.5)(0,2.5)
\uput[180](-.1,2.5){\labelFont$\mathsf{20\,\frac{m}{s}}$}

\psline[style=sys](-.1,3.75)(0,3.75)
\uput[180](-.1,3.75){\labelFont$\mathsf{30\,\frac{m}{s}}$}

\psline[style=sys](-.1,5)(0,5)
\uput[180](-.1,5){\labelFont$\mathsf{40\,\frac{m}{s}}$}

\psline[style=sys](2,0)(2,-.1)
\uput[-90](2,-.1){\labelFont$\mathsf{5\,s}$}
\psline[style=sys](4,0)(4,-.1)
\uput[-90](4,-.1){\labelFont$\mathsf{10\,s}$}
\psplot{0}{5}{x 5 mul 8 div}
%%\psline[linestyle=dotted,linecolor=red](4,0)(4,5)(0,5)
%\psline[linestyle=dotted,linecolor=red](4,0)(4,2.5)(0,2.5)
\end{pspicture}
\begin{pspicture}(-2,-1)(6,7)\psframe(-2,-1)(6,7)
\psline[style=sys]{->}(0,-.5)(0,6)
\uput[180](0,6){\labelFont$\mathsf{a}$}
\psline[style=sys]{->}(-.5,0)(5,0)
\uput[-90](5,0){\labelFont$\mathsf{t}$}

\psline[style=sys](-.1,1)(0,1)
%\uput[180](-.1,1){\labelFont$\mathsf{1\,\frac{m}{s^2}}$}

\psline[style=sys](-.1,2)(0,2)
\uput[180](-.1,2){\labelFont$\mathsf{2\,\frac{m}{\rule{0pt}{.65em}s^2}}$}

\psline[style=sys](-.1,3)(0,3)
\psline[style=sys](-.1,4)(0,4)
\psline[style=sys](-.1,5)(0,5)


\psline[style=sys](2,0)(2,-.1)
\uput[-90](2,-.1){\labelFont$\mathsf{5\,s}$}
\psline[style=sys](4,0)(4,-.1)
\uput[-90](4,-.1){\labelFont$\mathsf{10\,s}$}
\psplot{0}{5}{2}
%%\psline[linestyle=dotted,linecolor=red](4,0)(4,5)(0,5)
%\psline[linestyle=dotted,linecolor=red](4,0)(4,2.5)(0,2.5)
\end{pspicture}
\end{document}