# How can I shift ymin to zero when values are near to zero?

How can I shift ymin to zero when values are near to zero? I also try ymin=0 command but it does not work.

\begin{figure}[h]
\centering
\begin{tikzpicture}
\begin{axis}[
ybar, ymax=4,
enlargelimits=0.15,
legend style={at={(0.5,-0.20)},
anchor=north,legend columns=-1},
ylabel={Surface Roughness (nm)},
xlabel={Substrate},
symbolic x coords={Glass,Silicon,PEN},
xtick=data,
nodes near coords,
nodes near coords align={vertical},
]
\addplot [fill= white] coordinates {(Glass,2.4) (Silicon,1.1) (PEN,1.8)};
\addplot [fill = black] coordinates  {(Glass,1.1) (Silicon,0.2) (PEN,1.0)};

\legend{Profilometer,AFM}
\end{axis}
\end{tikzpicture}
\caption{Substrate Vs IBD Surface Roughness(Avg)}
\label{Subvibd}
\end{figure}

-
Welcome to TeX.sx! Please add a few more lines to make your code a minimal working example (MWE) that illustrates your problem such that people can directly copy/paste and work on the problem. – percusse Oct 4 '12 at 10:52
I want that my ybars starts from exactly zero. I don't want any empty space between starting the ybar and x-axis. Thanks – Rizwan Oct 4 '12 at 11:32
Remove enlargelimits=0.15 and put ymin=0. But I was mentioning about making your code copy/paste compilable. – percusse Oct 4 '12 at 11:35
hey thanks percusse. Its perfect now. :) – Rizwan Oct 4 '12 at 11:44
Glad that you have solved your problem but I feel that I can't make my point clear. – percusse Oct 4 '12 at 11:46

Removing enlargelimits=0.15 and introducing ymin=0 again, would make the y-axis start from 0.