Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 3

11 Dez '17, 00:57

cis's gravatar image

cis
9.6k103460491

Dimension too large bei TikZ-Schleife

Folgender Code erlaubt nur Werte für `n` von ca. `-110,-109,...,110`. Wie könnte ich die Folge für größere Werte plotten, etwa von `-2000` bis `2000`? ![alt text][1] \documentclass[tikz, border=3mm]{standalone} %\documentclass{article} \usepackage[ngerman]{babel} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{plotmarks} \begin{document} \begin{tikzpicture}[ x=3cm, y=3cm, scale=0.75, font=\footnotesize, >=latex, ] % Gitternetzlinien \draw[help lines] (-1.5,-1.5) grid (1.5,1.5); % x-Achse \draw[->] (-1.5,0) -- (1.5,0) node[below] {Re$$}; %Zahlen auf x-Achse \foreach \x in {-1,1,} \draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] {$\x$}; % y-Achse \draw[->] (0,-1.5) -- (0,1.5) node[left] {Im$$};%node[above left] %Zahlen auf y-Achse \foreach \y in {-1,1} \draw[shift={(0,\y)},color=black] (2pt,0pt) -- (-2pt,0pt) node[left] {$\y$}; %Ursprung \node[below left] {$0$}; %%%%%%%%%%%%%%%% %Folge/Dotplot%% %%%%%%%%%%%%%%%% \def\nMin{-99} \def\nMax{-\nMin} \foreach \n in {\nMin,...,\nMax}{%==================== % Linie %\draw[-,thin] (0,0) -- %( {cos((4*\n+1)/2 r)},{sin((4*\n+1)/2 r)} ) %node[right]{\n} %; % Punkt \draw[->,thin] plot[mark=*, mark options={color=red, fill=white}, mark size=1.75pt] coordinates{ ( {cos((4*\n+1)/2 r)},{sin((4*\n+1)/2 r)} ) ( {cos((4*(\n+1)+1)/2 r)},{sin((4*(\n+1)+1)/2 r)} ) }; }%==================== %Titel: \node[red!95!black, align=left] at (1,1.2) {$ \begin{aligned} &z_k = e^{\frac{4k+1}{2}i} \\ & k = \nMin,\dots, \nMax \end{aligned} $}; \end{tikzpicture} \end{document} [1]: http://texwelt.de/wissen/upfiles/55555555_73.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

11 Dez '17, 00:57

cis's gravatar image

cis
9.6k103460491

Dimension too large bei TikZ-Schleife

Folgender Code erlaubt nur Werte für `n` von ca. `-110,-109,...,110`. Wie könnte ich die Folge für größere Werte plotten, etwa von `-2000` bis '2000'? `2000`? ![alt text][1] \documentclass[tikz, border=3mm]{standalone} %\documentclass{article} \usepackage[ngerman]{babel} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{plotmarks} \begin{document} \begin{tikzpicture}[ x=3cm, y=3cm, scale=0.75, font=\footnotesize, >=latex, ] % Gitternetzlinien \draw[help lines] (-1.5,-1.5) grid (1.5,1.5); % x-Achse \draw[->] (-1.5,0) -- (1.5,0) node[below] {Re$$}; %Zahlen auf x-Achse \foreach \x in {-1,1,} \draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] {$\x$}; % y-Achse \draw[->] (0,-1.5) -- (0,1.5) node[left] {Im$$};%node[above left] %Zahlen auf y-Achse \foreach \y in {-1,1} \draw[shift={(0,\y)},color=black] (2pt,0pt) -- (-2pt,0pt) node[left] {$\y$}; %Ursprung \node[below left] {$0$}; %%%%%%%%%%%%%%%% %Folge/Dotplot%% %%%%%%%%%%%%%%%% \def\nMin{-99} \def\nMax{-\nMin} \foreach \n in {\nMin,...,\nMax}{%==================== % Linie %\draw[-,thin] (0,0) -- %( {cos((4*\n+1)/2 r)},{sin((4*\n+1)/2 r)} ) %node[right]{\n} %; % Punkt \draw[->,thin] plot[mark=*, mark options={color=red, fill=white}, mark size=1.75pt] coordinates{ ( {cos((4*\n+1)/2 r)},{sin((4*\n+1)/2 r)} ) ( {cos((4*(\n+1)+1)/2 r)},{sin((4*(\n+1)+1)/2 r)} ) }; }%==================== %Titel: \node[red!95!black, align=left] at (1,1.2) {$ \begin{aligned} &z_k = e^{\frac{4k+1}{2}i} \\ & k = \nMin,\dots, \nMax \end{aligned} $}; \end{tikzpicture} \end{document} [1]: http://texwelt.de/wissen/upfiles/55555555_73.png
Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

11 Dez '17, 00:56

cis's gravatar image

cis
9.6k103460491