diff --git a/pub/lib/plot.cpp b/pub/lib/plot.cpp
index 5d8bca0fb11bc294ff2be1d4ac6b1c2b539e79d5..95f7fff08dd18efc810f85abcf35b4a953c8861d 100644
--- a/pub/lib/plot.cpp
+++ b/pub/lib/plot.cpp
@@ -569,8 +569,8 @@ namespace {
             const CSpec* s = fd->VS(j);
             vector<double> xlim = triv::histogram_limits(s->x);
             for (size_t i=0; i<s->size(); ++i)
-                if ( /* s->y[i] && plot->Y.contains(s->y[i]) */
-                       plot->X.contains(xlim[i]) && plot->X.contains(xlim[i+1])
+                if (  (plot->Y.force || plot->Y.contains(s->y[i]))
+                    && plot->X.contains(xlim[i]) && plot->X.contains(xlim[i+1])
                     && plot->Z.contains(zlim[j]) && plot->Z.contains(zlim[j+1]))
                     plot->ps_line(
                         str(format("%13.7g wx %13.7g wx  %13.7g wy %13.7g wy  %13.7g wh t2d")