I'd like to be able to draw the following cell complex structure on the (three-dimensional embedding of the) Klein bottle using LaTeX. I am pretty pleased with my hand-drawn rendition, but LaTeX is prettier, and can be edited.
I am still in the process of learning TikZ
, and I have not used the pgfplots
package before, so I don't know if it can help. The only places I found online that seemed related were
Edit: Thanks to hpesoj626's helpful comment below, I have got gnuplots working, so I can compile at least the second example above now (I still don't know how to implement the first one). However, there is still the issue of decorating the Klein bottle with the various curves and points I want to draw, which neither post addresses.
Also, both plotting solutions seem to be too "heavy", visually, to really make labeling them in the way I want seem viable. I am looking for more of an outline-looking Klein bottle. If the ultimate answer is that I need to draw it out "by hand" (i.e. plan out a 2-dimensional image representing the Klein bottle), then please post any advice you have about how to go about doing that.
Can anyone suggest a method of drawing this in LaTeX?
Best Answer
Further explanations will follow, for now so much:
to[in=,out=,looseness=]
)It's far from perfect, somee labels are missing. You can increase the quality ba adding more intermediate points.
(Final) Code
Output