Probleme mit TikZ-Grafik
Verfasst: Fr 9. Sep 2016, 13:15
Hallo liebe LaTex-Community,
gleich vorweg, ich bin blutiger Anfänger und habe folgendes Problem.
Normal exportiere ich meine Abbildungen immer aus GeoGebra mittels TikZ und binde diese in mein Dokument ein.. Allerdings habe ich bei einer Grafik ein Problem:
Geogebra gibt mir den Rat ich soll Gnuplot verwenden, allerdings bin ich diesbezüglich etwas ratlos.
Hier mein Code, wie er von Geogebra ausgegeben wird:
Die Liste der Punkte und auch die Koordinatenachsen wird alles geplottet.
Nur die Verbindungskurve aller Punkte (Spirale) gibt er leider nicht aus.
Über eure Hilfe freut sich,
Markus.
gleich vorweg, ich bin blutiger Anfänger und habe folgendes Problem.

Normal exportiere ich meine Abbildungen immer aus GeoGebra mittels TikZ und binde diese in mein Dokument ein.. Allerdings habe ich bei einer Grafik ein Problem:
Geogebra gibt mir den Rat ich soll Gnuplot verwenden, allerdings bin ich diesbezüglich etwas ratlos.
Hier mein Code, wie er von Geogebra ausgegeben wird:
\documentclass[10pt]{article} \usepackage{pgf,tikz} \usepackage{mathrsfs} \usetikzlibrary{arrows} \pagestyle{empty} %<<<<<<<WARNING>>>>>>> % PGF/Tikz doesn't support the following mathematical functions: % cosh, acosh, sinh, asinh, tanh, atanh, % x^r with r not integer % Plotting will be done using GNUPLOT % GNUPLOT must be installed and you must allow Latex to call external programs by % Adding the following option to your compiler % shell-escape OR enable-write18 % Example: pdflatex --shell-escape file.tex \begin{document} \definecolor{dcrutc}{rgb}{0.8627450980392157,0.0784313725490196,0.23529411764705882} \begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=20.0cm,y=20.0cm] \draw[->,color=black] (-0.1602160751025322,0.) -- (0.17030153103733142,0.); \foreach \x in {} \draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] {\footnotesize $\x$}; \draw[color=black] (0.15214122300766855,0.0018160153920600082) node [anchor=south west] { Re(z)}; \draw[->,color=black] (0.,-0.10795888951279606) -- (0.,0.13402516147920002); \foreach \y in {} \draw[shift={(0,\y)},color=black] (2pt,0pt) -- (-2pt,0pt) node[left] {\footnotesize $\y$}; \draw[color=black] (0.0022700385037078543,0.12403707682286999) node [anchor=west] { Im(z)}; \draw[color=black] (0pt,-10pt) node[right] {\footnotesize $0$}; \clip(-0.1602160751025322,-0.10795888951279606) rectangle (0.17030153103733142,0.13402516147920002); \draw [line width=1.2pt,color=dcrutc,fill=dcrutc,fill opacity=0.2] (0.,0.) circle (1.2cm); % WARNING: You have to use the special variable t in parametric plot \draw[dash pattern=on 2pt off 2pt, smooth,samples=100,domain=1.0:300.0] plot[parametric] function{1.0/n*cos((n)),1.0/n*sin((n))}; \begin{scriptsize} \draw [fill=black] (0.5403023058681398,0.8414709848078965) circle (1.5pt); \draw [fill=black] (-0.2080734182735712,0.45464871341284085) circle (1.5pt); \draw [fill=black] (-0.3299974988668151,0.0470400026866224) circle (1.5pt); \draw [fill=black] (0.,0.) circle (2.5pt); \draw[color=black] (0.0032266971644333087,0.008266095579044461) node {$A$}; \draw[color=dcrutc] (-0.0031294106459486826,0.04594841496428963) node {Umgebung}; \draw[color=black] (0.1471471382995113,-0.10205683948860104) node {$a$}; \end{scriptsize} \end{tikzpicture} \end{document}
Nur die Verbindungskurve aller Punkte (Spirale) gibt er leider nicht aus.
Über eure Hilfe freut sich,
Markus.