Latex 画图x, y轴格式

阅读 76

2022-07-27


\begin{axis}[
xlabel=x in $m^2$,
ylabel=y in $m^2$,
tick align=inside,
y tick label style={/pgf/number format/.cd,%
set thousands separator={}},%取消数字中的“,” 比如2,000变成2000
width=3in,
height=3in,
legend pos=outer north east,
legend style={}
]
\addplot[smooth,mark=*,black] plot coordinates {
(1999,1000)
(2000,2000)
(2001,3000)
(2002,4000)
(2003,5000)
(2004,6000)
};
\addlegendentry{line}

 

Latex 画图x, y轴格式_debian

相关推荐

精彩评论(0)

0 0 举报