![我该如何在这个图表中包含数字和字母](https://linux22.com/image/414797/%E6%88%91%E8%AF%A5%E5%A6%82%E4%BD%95%E5%9C%A8%E8%BF%99%E4%B8%AA%E5%9B%BE%E8%A1%A8%E4%B8%AD%E5%8C%85%E5%90%AB%E6%95%B0%E5%AD%97%E5%92%8C%E5%AD%97%E6%AF%8D.png)
答案1
像这样
\begin{tikzpicture}[xscale=8]
\draw[-][draw=red, very thick] (0,0) -- (.5,0);
\draw[-][draw=green, very thick] (.5,0) -- (1,0);
\draw [thick] (0,-.1) node[below]{0} -- (0,0.1);
\draw [thick] (0.5,-.1) node[below]{$1/2$} -- (0.5,0.1);
\draw [thick] (0.5,-.1) node[above]{$L,R$} -- (0.5,0.1);
\draw [thick] (1,-.1) node[below]{1} -- (1,0.1);
\end{tikzpicture}