Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 3

01 Jun '21, 11:09

lina_36's gravatar image

lina_36
4127

Pfeilbeschriftung (Tikzpicture) auf dieselbe Höhe

Was kann ich einstellen, damit meine Pfeilbeschriftung exakt auf einer Höhe ist und nicht bei jedem beschrifteten Pfeil verschieden? Ich versuche es nun schon eine ganze Weile, aber habe bisher noch keine Lösung für mein Problem gefunden. Folgend ein Beispiel. Ich möchte am Ende alle T's auf die Höhe von T_2 anpassen und suche nach einer Lösung dafür. Schonmal vielen Dank! \documentclass{scrarticle} \usepackage{tikz,pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{arrows,trees,graphs,positioning, arrows} arrows, chains, shapes, arrows.meta,decorations.pathreplacing} \begin{document} \begin{figure}[h] \begin{tikzpicture}[>=Stealth] % Koordinatensystem \draw[->,>=Stealth,thick] (0,0) -- (12.5,0) node[below=0.2] {x}; \draw[->,thick] (0,0) -- (0,6) node[below left=0.3,anchor=east] {y}; \begin{scope}[ultra thin,every edge/.append style={->}] \foreach [count=\i] \x/\y in { 0.2/5, 2.7/4.6, 5.2/3.7, 7.7/3.4, 10.2/4.4 }{ \path (\x,0) -- (\x,\y) node (h) [pos=.6] {~$T_\i$}; \path (h) edge (\x,0) edge (\x,\y); } \end{scope} \end{tikzpicture} \end{figure} \end{document}
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2

01 Jun '21, 11:09

lina_36's gravatar image

lina_36
4127

Pfeilbeschriftung (Tikzpicture) auf dieselbe Höhe

Was kann ich einstellen, damit meine Pfeilbeschriftung exakt auf einer Höhe ist und nicht bei jedem beschrifteten Pfeil verschieden? Ich versuche es nun schon eine ganze Weile, aber habe bisher noch keine Lösung für mein Problem gefunden. Folgend ein Beispiel. Ich möchte am Ende alle T's auf die Höhe von T_2 anpassen und suche nach einer Lösung dafür. Schonmal vielen Dank! \documentclass{scrarticle} \usepackage{tikz,pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{arrows,trees,graphs,positioning, arrows, chains, shapes, arrows.meta,decorations.pathreplacing} arrows} \begin{document} \begin{figure}[h] \begin{tikzpicture}[>=Stealth] % Koordinatensystem \draw[->,>=Stealth,thick] (0,0) -- (12.5,0) node[below=0.2] {x}; \draw[->,thick] (0,0) -- (0,6) node[below left=0.3,anchor=east] {y}; \begin{scope}[ultra thin,every edge/.append style={->}] \foreach [count=\i] \x/\y in { 0.2/5, 2.7/4.6, 5.2/3.7, 7.7/3.4, 10.2/4.4 }{ \path (\x,0) -- (\x,\y) node (h) [pos=.6] {~$T_\i$}; \path (h) edge (\x,0) edge (\x,\y); } \end{scope} \end{tikzpicture} \caption{Bestandsverlauf} \end{figure} \end{document}
Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

01 Jun '21, 11:08

lina_36's gravatar image

lina_36
4127

Willkommen, erstes Mal hier? Schau mal unter FAQ!

×