Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Sandbox/Wnt/Plotter/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===function "bar"=== This produces a bar chart. It has labels but I'm still working on the axis... local delimiter = args.delimiter or pargs.delimiter or "," * width (default 200) * height (default 200) * normalize - a list of N numbers corresponding to data series 1 to N. Each number identifies which series a series should be normalized to. So "1 2 1 1 3" will plot series 1,4,5 relative to one another, but 2 and 5 will be on their own scale (with their own axis labels, eventually) * delimiter (default comma) separates values in group1, group2, etc. * group1, group2, group3 etc. Each is a list of numeric values separated by ''delimiter'' * xlegend - labels for each position on the x axis separated by delimiter. It is assumed all series use the same x values. * ylegend - labels for each series of data (group1, group2, etc.)
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)