答案1
有很多这样的符号可用。这个答案只是告诉你,如果你想用 Ti 构建自己的符号钾Z,您可能希望\savebox
在条形图中使用它时使用pgfplots
。
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{patterns}
\pgfplotsset{compat=1.16}
\newsavebox\myarrow
\sbox\myarrow{\tikz[baseline]{\fill[blue](0,0.2) --(0.2,0.1) -- (0,0);}}
\begin{document}
\begin{tikzpicture}[font=\sffamily]
\begin{axis}[xbar,enlargelimits=0.15,
symbolic y coords={Vancouver Island,Yellow bellied,Alpine},
ytick={Vancouver Island,Yellow bellied,Alpine},
title={Growth of marmot population (\usebox{\myarrow} is better)}]
\addplot [draw=blue,
pattern=horizontal lines light blue,
] coordinates {
(2.5,Vancouver Island) (0.5,Yellow bellied) (0.2,Alpine)
};
\end{axis}
\end{tikzpicture}
\end{document}