Quantcast
Channel: How to hide empty (value 0) ybars with pgfplots? - TeX - LaTeX Stack Exchange
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by user11232 for How to hide empty (value 0) ybars with pgfplots?

You can use y filter/.expression={y==0 ? nan : y}in the options of \addplot.\documentclass{article}% ---------------------------------- tikz\usepackage{pgfplots} % to print...

View Article



Image may be NSFW.
Clik here to view.

How to hide empty (value 0) ybars with pgfplots?

I'm making a ybar graph (vertical bars) where the y axis maximum reaches 150+, but a lot of values are 0's. I would like the final graph would not show a minimum bar in this 0 values, since we this...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images