答案1
像这样?
作为起点,使用@Juan Castaño 评论。在边缘引用中写一篇真实的文本,我留给你:
\documentclass[border=3.141592]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,
quotes}
\begin{document}
\begin{tikzpicture}[
every edge/.style = {draw, Straight Barb-Straight Barb},
every edge quotes/.style = {auto=right, inner xsep=2mm,
align=left}
]
\draw[thick] (0,0) -- ++ (9,0)
(0,4) -- ++ (3,0)
(0,8) -- ++ (5,0)
(0,10) -- ++ (8,0);
\draw (0,2) -- ++ (2,0)
(0,6) -- ++ (3,0);
\path (0.2,0) edge["O\&M\\ COST"] ++ (0,2)
(0.2,2) edge["Captital\\charges"] ++ (0,2)
(0.2,4) edge["text\\text"] ++ (0,2)
(0.2,6) edge["text\\text"] ++ (0,2)
(0.2,8) edge["text\\text"] ++ (0,2)
%
(2.8,0) edge["FULL\\SUPPLY\\COST"] ++ (0,4)
(4.8,0) edge["FULL\\ECONOMIC\\COST"] ++ (0,8)
(7.8,0) edge["text\\text"] ++ (0,10)
;
\end{tikzpicture}
\end{document}