Reputation: 1011
I want to be able to do 2 things:
Results will just be in a simple array. It would be best to have that all in the gui so it can function like a normal program.
Any help would be greatly appreciated.
Thanks!
Edit: I forgot to mention, the charts can be simple line charts. Nothing fancy. But they need to be able to display an array of results as large as say 100,000 points.
Upvotes: 1
Views: 622
Reputation: 37517
It looks like ruby-gsl does what you want. You can call plot functions from right within irb. See the screenshots for an idea of how you would interact with it.
Upvotes: 0
Reputation: 12578
I should probably keep shut on this topic because I lack the practical experiense, but I would suggest treating 1. and 2. as completley separate problems. The hint for 2. can be found eg. in the SO thread Ruby: building a plot of function, while with 1., I had moderate success with Ruby GTK.
This does not constitute a full answer to your question, and you should not flag it as accepted answer. I posted it due to lack of interest and/or will to answer from others. I am still waiting for the big pro to come and teach me and the asker how to do it.
Upvotes: 1