Bar Charts


This PLOT command made the simple bar chart above (click the chart for a complete script):

    PLOT
        AXISLABELS, LIGHT GRAY BARS, LIGHT RED BARS
      WITH
        TITLE "Main Title"
        TITLE X "X Axis"
        NO SIDES
        TITLE Y "Y Axis"
        GRIDLINES HORIZONTAL
        LEGEND BOTTOM
    SELECT
        lbl, Series1, Series2
        FROM foof;

Use OUTLINES to add bar outlines:

Use BARWIDTH (0.0-1.0) to control the bar widths (these are “BARWIDTH .5″):

Use BARSEPARATION (number of pixels) to control the space between bars in individual clusters (these are “BARSEPARATION 10″):

And use BAROVERLAP (0 or 1) to determine whether bars overlap or not (these are “BAROVERLAP 1″):

Comments are closed.