\definecolor{ublue}{rgb}{0.152,0.250,0.545} \begin{tikzpicture} \begin{axis}[ width=12cm, height=4cm, xlabel={{$\textrm{P}(x)$}}, ylabel={{$\textrm{I}(x)$}}, ylabel style={yshift=-1.5em,font=\footnotesize}, xlabel style={yshift=0.3em,font=\footnotesize}, xtick={0,0.2,...,1.0}, ytick={0,1,2}, y tick style={opacity=0}, x tick style={opacity=0}, domain=0:1, enlarge x limits=true, enlarge y limits={upper}, legend style={draw=none}, xmin=0, xmax=1, ymin=0, ymax=2, xticklabel style={font=\small}, %坐标轴字体大小 yticklabel style={font=\small} ] \addplot[draw=blue!40,thick] {170*exp(-x-4)-1}; \legend{\footnotesize{$\textrm{I}(x) \cdot \textrm{P}(x)$}} \end{axis} \end{tikzpicture} %---------------------------------------------------------------------