Page 1 of 1

statistical graphs in ruby

Posted: Sun Jan 24, 2016 8:52 pm
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?

Re: statistical graphs in ruby

Posted: Sun Jan 24, 2016 10:41 pm
by KG_is_back
Just a quick one...

Re: statistical graphs in ruby

Posted: Sun Jan 24, 2016 11:12 pm
by tester
A good one, just what I need.

Thanks!

Re: statistical graphs in ruby

Posted: Mon Jan 25, 2016 3:26 am
by RJHollins
man you're good :)

thanks KG

Re: statistical graphs in ruby

Posted: Fri Jan 29, 2016 12:27 pm
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)