concept rug plot in category gnuplot

appears as: rug plots, rug plot
Gnuplot in Action

This is an excerpt from Manning's book Gnuplot in Action.

Figure 13.9. An alternative to histograms: kernel density estimates using smooth kdensity. Curves for three different bandwidths are shown. A bandwidth of 0.3 seems to give the best trade-off between smoothing action and retention of details. Note how it brings out the secondary cluster near x=3.5. Individual data points are represented through the rug plot along the bottom.

One more thing: figure 13.9 uses a different representation for the individual data points. Instead of using symbols as in the jitter plot included in figure 13.8, this figure uses a rug plot along the bottom edge. Each data point is represented through a short, vertical line. In gnuplot, this can be accomplished through the with vectors style:

plot [:11][-0.1:0.8] "jitter" u 1:(-0.1):(0):(0.05) t '' w vec nohead

I prefer jitter plots, because lines in a rug plot tend to obscure each other, making it difficult to identify individual data points. But rug plots may give a somewhat neater appearance to your graphs and appear less noisy.