
diff -r b719a44b0b26 -r 8b4b014277fa visualisation/cube.tex
--- a/visualisation/cube.tex	Wed Nov 06 21:12:14 2024 -0500
+++ b/visualisation/cube.tex	Wed Nov 06 21:40:54 2024 -0500
@@ -1,6 +1,7 @@
 \documentclass[tikz]{standalone}
 \usepackage{pgfplots}
 \usepackage{tikz-3dplot}
+\usepackage[svgnames]{xcolor}
 \usepgfplotslibrary{colorbrewer}
 
 \def\datapath{../res/}
@@ -22,14 +23,18 @@
 \pgfplotsset{
     % forget plot = no legend
     cube/.style = {thick, gray!50!black,forget plot},
-    iter/.style = {mark=x, red},
+    onlyfront/.code = \pgfplotsset{x filter/.code={\onlyfront{\thisrow{face}}}},
+    onlyback/.code = \pgfplotsset{x filter/.code={\onlyback{\thisrow{face}}}},
     data/.style = {mark=*, blue, only marks},
     backdata/.style = {mark=*, blue!30!white, only marks, onlyback, forget plot},
-    backiter/.style = {mark=x, red!30!white, onlyback, forget plot},
+    iter1/.style = {mark=x, red},
+    iter2/.style = {mark=star, BlueViolet},
+    iter3/.style = {mark=asterisk, purple},
+    backiter1/.style = {mark=x, red!30!white, onlyback, forget plot},
+    backiter2/.style = {mark=star, BlueViolet!30!white, onlyback, forget plot},
+    backiter3/.style = {mark=asterisk, purple!30!white, onlyback, forget plot},
     origin/.style = {mark=o, green, only marks, thick},
     surfstyle/.style = {very nearly opaque, forget plot},
-    onlyfront/.code = \pgfplotsset{x filter/.code={\onlyfront{\thisrow{face}}}},
-    onlyback/.code = \pgfplotsset{x filter/.code={\onlyback{\thisrow{face}}}},
     legend style = {
         inner sep = 0pt,
         outer xsep = 5pt,
@@ -61,10 +66,11 @@
         %axis z line = none,
         legend columns = 3,
         legend style = {
-            at = {(0.5, 1.05)},
+            at = {(0.5, 1.1)},
             anchor = north,
             column sep = 1ex,
         },
+        mark size=1.5pt,
     }
 }
 
@@ -73,7 +79,9 @@
         \addplot3[cube] coordinates {(0, 0, 0) (0, 1, 0) (0, 1, 1) };
         \addplot3[cube] coordinates {(0, 1, 0) (1, 1, 0) };
         \addplot3[backdata] table[x=x,y=y,z=z] {\datapath/data.csv};
-        \addplot3[backiter] table[x=x,y=y,z=z] {\datapath/log.txt};
+        \addplot3[backiter1] table[x=x,y=y,z=z] {\datapath/x1_log.csv};
+        \addplot3[backiter2] table[x=x,y=y,z=z] {\datapath/x2_log.csv};
+        \addplot3[backiter3] table[x=x,y=y,z=z] {\datapath/x3_log.csv};
 
         \addplot3[
             surf,
@@ -123,8 +131,12 @@
         \addplot3[origin,onlyfront] table[x=x,y=y,z=z] {\datapath/origin.csv};
         \addlegendentry{Origin}
 
-        \addplot3[iter,onlyfront] table[x=x,y=y,z=z] {\datapath/log.txt};
-        \addlegendentry{Iterates}
+        \addplot3[iter1,onlyfront] table[x=x,y=y,z=z] {\datapath/x1_log.csv};
+        \addlegendentry{Iterates 1}
+        \addplot3[iter2,onlyfront] table[x=x,y=y,z=z] {\datapath/x2_log.csv};
+        \addlegendentry{Iterates 2}
+        \addplot3[iter3,onlyfront] table[x=x,y=y,z=z] {\datapath/x3_log.csv};
+        \addlegendentry{Iterates 3}
     \end{axis}
 \end{tikzpicture}
 




