在我的 MWE(见下文)中,从节点 P2 到节点 P3 的箭头指向错误的方向(应该向上而不是向下)。
我怀疑这两个节点的紧密接近可能是造成这个问题的原因,但我不知道如何在不改变 tikz-picture 最后一行中的两个节点的情况下解决这个问题,在我看来,这在技术上是“错误”的解决方案。
梅威瑟:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,%
positioning,%
shapes}% TIKZ Bibliotheken
\begin{document}
\begin{tikzpicture}
% x-Achse
\draw [->] (-0.5,0) -- (9,0)% Linie
node [right] {Preis};% Label
% y-Achse
\draw [->] (0,-0.5) -- (0,9)% Linie
node [above] {Menge};% Label
% Graph
\draw (0,8) -- (3,7)% Linie 1
node [midway, above, sloped] {Nachfrage};% Label
\draw [teal] (3,7) -- (5,1)% Linie 2
node [teal, midway, right] {monopolistischer Bereich};% Label
\draw (5,1) -- (8,0);% Linie 3
% Menge
\draw [teal, dashed] (5,1) -- (5,0)% Linie
node [below] (M1) {\(M_1\)};% Label
\draw [teal, dashed] (3,7) -- (3,0)% Linie
node [below] (M2) {\(M_2\)};% Label
\draw [->, teal] (M1) -- (M2);
\draw [red, dashed] (1.5,7.5) -- (1.5,0)% Linie
node [below] (M3) {\(M_3\)};% Label
\draw [->, red] (M2) -- (M3);
% Preise
\draw [teal, dashed] (5,1) -- (0,1)% Linie
node [left] (P1) {\(P_1\)};% Label
\draw [teal, dashed] (3,7) -- (0,7)% Linie
node [left] (P2) {\(P_2\)};% Label
\draw [->, teal] (P1) -- (P2);
\draw [red, dashed] (1.5,7.5) -- (0,7.5)% Linie
node [left] (P3) {\(P_3\)};% Label
\draw [->, red] (P2) -- (P3);
\end{tikzpicture}
\end{document}
``