statistical graphs in ruby

For general discussion related FlowStone
Post Reply
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

statistical graphs in ruby

Post by tester »

I guess this may require ruby, because I don't see an easy way to get it.

Basically - I'd like to print two types of graphs.

1) dots with vertical lines (+/-, like tolerance or range from min to max), optionally ended with some markers on min/max tips. So it would eat 3 correlated arrays of data: min values, mid values and max values.Like:

1,3,2,4
5,7,6,8
10,13,12,11

2) colored zone between two point-to-point graphs (min graph and max graph). This one would eat 2-3 correlated arrays of data. 3rd mid array would just graph point to point line (like average data between min and max). Thus the format of an array would be identical to above example.

Anyone played with such stuff?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: statistical graphs in ruby

Post by KG_is_back »

Just a quick one...
Attachments
area_dot_graph.fsm
(1 KiB) Downloaded 1010 times
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: statistical graphs in ruby

Post by tester »

A good one, just what I need.

Thanks!
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: statistical graphs in ruby

Post by RJHollins »

man you're good :)

thanks KG
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: statistical graphs in ruby

Post by tester »

Hey KG, could you add a 4th array (of strings) to one of these graphs, that would be displayed over the max peak? (to display qty of samples)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply