next up previous contents index
Next: Histograms Up: Set style rectangle Previous: Fsteps   Contents   Index


Histeps

The histeps style is only relevant to 2-d plotting. It is intended for plotting histograms. Y-values are assumed to be centered at the x-values; the point at x1 is represented as a horizontal line from ((x0+x1)/2,y1) to ((x1+x2)/2,y1). The lines representing the end points are extended so that the step is centered on at x. Adjacent points are connected by a vertical line at their average x, that is, from ((x1+x2)/2,y1) to ((x1+x2)/2,y2).

If autoscale is in effect, it selects the xrange from the data rather than the steps, so the end points will appear only half as wide as the others. See also

http://www.gnuplot.info/demo/steps.htmlsteps demo.

histeps is only a plotting style; gnuplot does not have the ability to create bins and determine their population from some data set.


Ethan Merritt 2007-03-03