Home > ps-bar-utils

ps-bar-utils

Ps-bar-utils is a project mainly written in ..., it's free.

Bar chart library for Postscript

ps-bar-utils: A postscript library for drawing bar charts, with error bars (c) Greg Benison, 2011

You use the file by importing 'bar-utils.ps' into a postscript file. See file 'example-1.ps' for a demonstration of usage.

The API consists of the following functions (arguments given first, the way they would be passed in postscript postfix notation):

bar % Append a bar to the graph of height 'y' and error 'dy'
     next-category     % Switch to a new category.  The value of /category-name will be
                       % applied as a label to the just-closed category.
legend % Append a legend entry. is either a string or a procedure % which draws some kind of label.
Previous:jquery-dropdown