GR module for Ruby
GR framework - the graphics library for visualisation - for Ruby
:construction: Under construction.
Installation
Install GR. Set environment variable GRDIR.
export GRDIR="/your/path/to/gr"
Add this line to your application's Gemfile:
gem 'ruby-gr'
Quick Start
require 'gr'
x = [0, 0.2, 0.4, 0.6, 0.8, 1.0]
y = [0.3, 0.5, 0.4, 0.2, 0.6, 0.7]
GR.polyline(x, y)
tick = GR.tick(0, 1)
GR.axes(tick, tick, 0, 0, 1, 1, -0.001)
GR.updatews
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kojix2/GR.rb.
License
The gem is available as open source under the terms of the MIT License.