Wie zeichnet man diesen komplexen Simplex?

Wie zeichnet man diesen komplexen Simplex?

Ich versuche, die folgende Figur mit Tikz in LaTex zu zeichnen, aber ich schaffe es nicht (um ehrlich zu sein, bin ich noch weit davon entfernt ...). Dies ist die Figur, die ich brauche:

Bildbeschreibung hier eingeben

Das ist, was ich bisher bekomme (ich weiß, es ist weit entfernt von der gewünschten Ausgabe):

Bildbeschreibung hier eingeben

Dies ist das MWE, das ich für meinen Versuch verwende.

\documentstyle{standalone}
\usepackage{tikz}

\begin{document}
\begin{figure}[H]
\centering
\begin{tikzpicture}
\draw (0,0) node[anchor=east]{$(0,1,0)$} -- (4,0) node[anchor=west]{$(1,0,0)$} -- (2,4) node[anchor=south]{$(0,0,1)$} -- cycle;
\end{tikzpicture}
\end{figure}
\end{document}

Kann mir jemand helfen, die Figur zu bekommen, die ich brauche?

Danke euch allen!

Antwort1

Versuchen Sie als Ausgangspunkt den folgenden Code. Der Rest der Abbildung besteht aus Text in den Zeilen. Fügen Sie ihn mit ein \node.

\documentclass[margin=2cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,intersections,through,backgrounds,patterns}
\begin{document}
\begin{tikzpicture}
\coordinate (A) at (0,0);
\coordinate (B) at (10,0);
\draw (A)node[below]{$(0,0,1)$} -- (B)node[below]{$(1,0,0)$} --++ (120:10)coordinate(C)node[above]{$(0,1,0)$} -- cycle;
\fill (A) circle (2pt);\fill (B) circle (2pt);\fill (C) circle (2pt);
\draw [name path=parallel](0,2.5)coordinate(Ap)--(10,2.5)coordinate(Bp);
\draw[name path=B--C] ($(B)!0.05!(C)!50mm!90:(C)$)coordinate(X1) -- ($(B)!0.95!(C)!50mm!90:(C)$)coordinate(X2);
\draw[name path=C--A] ($(C)!0.05!(A)!50mm!90:(A)$)coordinate(X3) -- ($(C)!0.95!(A)!50mm!90:(A)$)coordinate(X4);
\path [name intersections={of=parallel and B--C,by=E}];
\path [name intersections={of=parallel and C--A,by=F}];
\node [fill=red,circle,inner sep=1.5pt] at (E) {};
\node [fill=red,circle,inner sep=1.5pt] at (F) {};
\draw [name path=A--B] (A)--(B);
\path [name intersections={of=B--C and A--B,by=G}];
\node [fill=red,circle,inner sep=1.5pt] at (G) {};
\path [name intersections={of=C--A and A--B,by=H}];
\node [fill=red,circle,inner sep=1.5pt] at (H) {};
\path[pattern=vertical lines,pattern color=black] (E)--(F)--(H)--(G)--cycle;
\node [fill=white] at (5,2.2) {$C(v)$};
\foreach \i in {0.97,0.94,0.91}{
\draw[-latex] ( $ (Ap)!\i!(Bp) $ ) --++ (-90:0.75);}
\foreach \i in {0.03,0.06,0.09}{
\draw[-latex] ( $ (X1)!\i!(X2) $ ) --++ (30:0.75);}
\foreach \i in {0.03,0.06,0.09}{
\draw[-latex] ( $ (X3)!\i!(X4) $ ) --++ (150:0.75);}
\end{tikzpicture}
\end{document}

Bildbeschreibung hier eingeben

verwandte Informationen