答案1
像这样:
以下是代码:
\documentclass[tikz,border=2mm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[label/.style={font=\scriptsize, below}]
\draw [<->, >={Latex},blue] (-1, 0)node[label]{$-1$} -- (1, 0)node[label]{$+1$};
\draw[thin, blue] (0, 0.2,0)--(0,-0.2) node[label]{$0$};
\end{tikzpicture}
\end{document}