Nyaplot::Utils
Small tools for Nyaplot.
- Exporting module - enable to export plots as SVG file
Requirement
- Watir
- Nokogiri
Installation
$ gem install nyaplot-utils
Usage
Exporting SVG
require 'nyaplot'
require 'nyaplot_utils'
plot = Nyaplot::Plot.new
plot.add(:scatter, [0,1,2], [1,2,3])
plot.export_svg('foo.svg')
plot.export_contents('foo_context.svg')
Contributing
- Fork it ( http://github.com/
/nyaplot-utils/fork ) - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request