latex-pictures

A collection of TikZ drawings and other images 🖌️

Commit
1220d7674d40d00eda0822c6424dca6e1754527a
Parent
c7dc47fa928c13acc2227c5afe69a0ca48e46e17
Author
Pablo <pablo-escobar@riseup.net>
Date

Cleaned the unit circle covering picture

Diffstat

1 file changed, 32 insertions, 6 deletions

Status File Name N° Changes Insertions Deletions
Modified unit-circle-covering.tikz 38 32 6
diff --git a/unit-circle-covering.tikz b/unit-circle-covering.tikz
@@ -1,14 +1,40 @@
 % This picture represents the universal convering of the unit circle
 % Copyright Pablo (C) 2021
 \begin{tikzpicture}[scale=0.75]
-\begin{scope}[shift={(-3.5, -1)}]
-    \begin{axis}[view={0}{60}, axis lines=none, ymin=-2, ymax=5, xmin=-2, xmax=2]
+\begin{scope}[shift={(-3.5, -2.75)}]
+    \begin{axis}[
+        view={0}{60}, 
+        axis lines=none, 
+        ymin=-2, 
+        ymax=.5, 
+        xmin=-1, 
+        xmax=1
+      ]
+        \addplot3[
+          very thick, 
+          domain=-1.25*pi:6.25*pi, 
+          samples = 200, 
+          samples y=0
+        ] 
+          ({0.25 * sin(deg(-x))}, {0.17 * cos(deg(-x))}, {-x});
     
-        \addplot3 [very thick, domain=-1.25*pi:6.25*pi, samples = 200, samples y=0] ({0.5 * sin(deg(-x))}, {0.5 * cos(deg(-x))}, {-x});
+        \addplot3[
+          very thick, 
+          dotted, 
+          domain=-1.5*pi:-1.25*pi, 
+          samples = 200, 
+          samples y=0
+        ] 
+          ({0.25 * sin(deg(-x))}, {0.17 * cos(deg(-x))}, {-x});
     
-        \addplot3 [very thick, dotted, domain=-1.5*pi:-1.25*pi, samples = 200, samples y=0] ({0.5 * sin(deg(-x))}, {0.5 * cos(deg(-x))}, {-x});
-    
-        \addplot3 [very thick, dotted, domain=6.25*pi:6.5*pi, samples = 200, samples y=0] ({0.5 * sin(deg(-x))}, {0.5 * cos(deg(-x))}, {-x});
+        \addplot3[
+          very thick, 
+          dotted, 
+          domain=6.25*pi:6.5*pi, 
+          samples = 200, 
+          samples y=0
+        ] 
+          ({0.25 * sin(deg(-x))}, {0.17 * cos(deg(-x))}, {-x});
     \end{axis}
 \end{scope}