Browse Source

Variable war schon vergeben

phi 1 year ago
parent
commit
7224a32356

+ 6
- 6
aufgaben/P_ALLG/datenanalyse/haeufigkeit/kuchendiagramm_v2_np.tex View File

30
   \begin{center}
30
   \begin{center}
31
 \begin{tikzpicture}[scale=3]
31
 \begin{tikzpicture}[scale=3]
32
 
32
 
33
-\newcounter{aKuchB}
34
-\newcounter{bKuchB}
33
+\newcounter{aKuchBnp}
34
+\newcounter{bKuchBnp}
35
 \foreach \p/\f/\t in {
35
 \foreach \p/\f/\t in {
36
   20/{\color{blue}36\degre{}}/{\color{blue}Lenovo},
36
   20/{\color{blue}36\degre{}}/{\color{blue}Lenovo},
37
   30/{\color{red}40\%}/{\color{red}Apple},
37
   30/{\color{red}40\%}/{\color{red}Apple},
38
   32/{\color{green}112 P.}/{\color{green}HP},
38
   32/{\color{green}112 P.}/{\color{green}HP},
39
   18/???/andere}
39
   18/???/andere}
40
   {
40
   {
41
-    \setcounter{aKuchB}{\value{bKuchB}}
42
-    \addtocounter{bKuchB}{\p}
43
-    \slice{\theaKuchB/100*360}
44
-          {\thebKuchB/100*360}
41
+    \setcounter{aKuchBnp}{\value{bKuchBnp}}
42
+    \addtocounter{bKuchBnp}{\p}
43
+    \slice{\theaKuchBnp/100*360}
44
+          {\thebKuchBnp/100*360}
45
           {\p}{\f}{\t}
45
           {\p}{\f}{\t}
46
   }
46
   }
47
 
47
 

Loading…
Cancel
Save