I Paulo,

thanks for the report!

The option axis y line=left also activates enlarge y limits=false -- in 
your case, "y=0" is outside of the plotted range and the bar disappears.

You should add "ymin=0" and all is well.

Kind regards

Christian

Am 04.09.2014 09:14, schrieb paulo lesgaz:
> Hello,
> In the following code, the line corresponding to the point,() is not 
> drawn.
>
> \documentclass[9pt]{article}
> \usepackage{pgfplots}
> \usetikzlibrary{pgfplots.statistics}
> \begin{document}
> \begin{tikzpicture}[scale=0.8]
> \begin{axis}[axis y line=left,
> axis x line=bottom,
> xmin=0,xmax=4.5]
> \addplot[ycomb,line width=2pt] plot coordinates {(1,350) (2,110) 
> (3,30) (4,10)};
> \end{axis}
> \end{tikzpicture}
> \end{document}
>
> If I remove axis y line=left, everything is OK!
>
> Hope you can help me.
>
> Thanks in advance
>
> Joao
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
>
>
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to