domitry / nyaplot-utils

Useful tools for Nyaplot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Fork it ( http://github.com//nyaplot-utils/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Useful tools for Nyaplot

License:MIT License


Languages

Language:Ruby 100.0%