\documentclass[a4paper]{article}

\usepackage{pgfplots}

\pgfplotsset{compat=newest}
\begin{document}

\begin{tikzpicture}
	\begin{semilogyaxis}%[ymin=5]
	%\tracingmacros=2 \tracingcommands=2
	\addplot+[domain=1e-4:10,ycomb] {exp(x)};
	\end{semilogyaxis}
\end{tikzpicture}


\end{document}

