Weitere ähnliche Inhalte
Ähnlich wie Ruby - gnuplot on Mac (20)
Kürzlich hochgeladen (10)
Ruby - gnuplot on Mac
- 11. 01 インストール
3. gem Gnuplot
http://rubygems.org/gems/gnuplot
!
インストール
$ gem install Gnuplot
!
カクニン
$ irb
> require “gnuplot” # => true ナラOK
- 13. 02 Hello, World!
require "gnuplot"
!
Gnuplot.open do |gp| # 01 Gnuplotブロックオープン
Gnuplot::Plot.new( gp ) do |plot| # 02 Plot.new
plot.xrange "[-10:10]" # 03 クカンヲキメテ
plot.data << Gnuplot::DataSet.new("sin(x)") # 04 グラフヲヒョウジ!
end
end
# => sin カーブガヒョウジサレタラOK
- 22. ソノタノオプション
!
Gruff x RMagic x ImageMagick
https://github.com/topfunky/gruff
!
GoogleCharts x Google Charts
http://googlecharts.rubyforge.org/