SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Ruby x gnuplot
2013-11-17
グラフガ描キタイ
!

Excel デハナク CUI デ
!

コンナノ

トイウカ Ruby デ
ソンナアナタニ gnuplot
WHAT
gnuplot
http://www.gnuplot.info/
!

CUIタイプのグラフ描画ツール
対話型でもスクリプトでも利用可
HOW
01 インストール
01 インストール
ヒツヨウナモノ
1. Ruby
2. gnuplot
3. gem gnuplot
01 インストール

1. Ruby
モチロンカツアイシマス
01 インストール
2. gnuplot
http://www.gnuplot.info/

!
インストール
$ brew install gnuplot

!
カクニン
$ gnuplot -V # バージョンヲヒョウジ
$ gnuplot # タイワモードヘ
> plot [-10:10] sin(x) # sinカーブガヒョウジサレタラOK
01 インストール
3. gem Gnuplot
http://rubygems.org/gems/gnuplot

!
インストール
$ gem install Gnuplot

!
カクニン
$ irb
> require “gnuplot” # => true ナラOK
02 Hello, World!
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
03 デモ
03 デモ
- サンプズ
- マルチプロット
- CSVデータノプロット
- フィットカーブ
マトメ
Ruby デグラフ
ワリトカンタンニデキマシタ
gnuplot: ビョウガ
Ruby: ジゼンショリ
ソノタノサンプル
!

https://github.com/rdp/ruby_gnuplot
!

examples ナイニサンプル
ワザワザ Ruby デヤルカチガアルカハ…
ソノタノオプション
!

Gruff x RMagic x ImageMagick
https://github.com/topfunky/gruff
!

GoogleCharts x Google Charts
http://googlecharts.rubyforge.org/
キョウノサンプル
!

https://github.com/gh640/ruby-gnuplot-trial

Weitere ähnliche Inhalte

Was ist angesagt? (8)

Casperjsのインストール
CasperjsのインストールCasperjsのインストール
Casperjsのインストール
 
Effective flutter
Effective flutterEffective flutter
Effective flutter
 
Raspberry Piにdiskless modeのalpine linuxを導入してみる
Raspberry Piにdiskless modeのalpine linuxを導入してみるRaspberry Piにdiskless modeのalpine linuxを導入してみる
Raspberry Piにdiskless modeのalpine linuxを導入してみる
 
20150603卒研進捗LT (share)
20150603卒研進捗LT (share)20150603卒研進捗LT (share)
20150603卒研進捗LT (share)
 
どこでも動くゲームを作るためのベタープラクティス
どこでも動くゲームを作るためのベタープラクティスどこでも動くゲームを作るためのベタープラクティス
どこでも動くゲームを作るためのベタープラクティス
 
衛星をインターバル撮影して合成
衛星をインターバル撮影して合成衛星をインターバル撮影して合成
衛星をインターバル撮影して合成
 
Chef meetup vol2_higanwoks
Chef meetup vol2_higanwoksChef meetup vol2_higanwoks
Chef meetup vol2_higanwoks
 
『こなへん』ができるまで ☆リリース直前編☆
『こなへん』ができるまで ☆リリース直前編☆『こなへん』ができるまで ☆リリース直前編☆
『こなへん』ができるまで ☆リリース直前編☆
 

Andere mochten auch

Surfers Against Sewage Finished Products Evaluation (improved)
Surfers Against Sewage Finished Products Evaluation (improved)Surfers Against Sewage Finished Products Evaluation (improved)
Surfers Against Sewage Finished Products Evaluation (improved)
cloestead
 
Iraitz paratua power point xerach
Iraitz paratua power point xerachIraitz paratua power point xerach
Iraitz paratua power point xerach
xeritxu
 
Joesph Plateau
Joesph PlateauJoesph Plateau
Joesph Plateau
EsmeSimcox
 
Discovery- Full Book
Discovery- Full BookDiscovery- Full Book
Discovery- Full Book
cloestead
 
Digital media design
Digital media designDigital media design
Digital media design
Yoon-ha Gwon
 
Digital Graphics Pro Forma (improved)
Digital Graphics Pro Forma (improved)Digital Graphics Pro Forma (improved)
Digital Graphics Pro Forma (improved)
cloestead
 
Energia xerach
Energia xerachEnergia xerach
Energia xerach
xeritxu
 
Ingurune xerach eta arkaitz compatible
Ingurune xerach eta arkaitz compatibleIngurune xerach eta arkaitz compatible
Ingurune xerach eta arkaitz compatible
xeritxu
 
Idea Development
Idea DevelopmentIdea Development
Idea Development
cloestead
 
Businesslaw By ASIF JAMAL
Businesslaw By ASIF JAMALBusinesslaw By ASIF JAMAL
Businesslaw By ASIF JAMAL
Asif Jamal
 

Andere mochten auch (20)

Hypertext based learningtech
Hypertext based learningtechHypertext based learningtech
Hypertext based learningtech
 
Surfers Against Sewage Finished Products Evaluation (improved)
Surfers Against Sewage Finished Products Evaluation (improved)Surfers Against Sewage Finished Products Evaluation (improved)
Surfers Against Sewage Finished Products Evaluation (improved)
 
Iraitz paratua power point xerach
Iraitz paratua power point xerachIraitz paratua power point xerach
Iraitz paratua power point xerach
 
Assistive technology
Assistive technologyAssistive technology
Assistive technology
 
Skenare te teatrove me fame boterore
Skenare te teatrove me fame boteroreSkenare te teatrove me fame boterore
Skenare te teatrove me fame boterore
 
Медиакит ASTV.RU
Медиакит ASTV.RUМедиакит ASTV.RU
Медиакит ASTV.RU
 
Joesph Plateau
Joesph PlateauJoesph Plateau
Joesph Plateau
 
Discovery- Full Book
Discovery- Full BookDiscovery- Full Book
Discovery- Full Book
 
Design Pro Forma (improved 2)
Design Pro Forma (improved 2)Design Pro Forma (improved 2)
Design Pro Forma (improved 2)
 
Gyrokinetic plasma theory
Gyrokinetic plasma theoryGyrokinetic plasma theory
Gyrokinetic plasma theory
 
Digital media design
Digital media designDigital media design
Digital media design
 
Summer garden
Summer gardenSummer garden
Summer garden
 
Digital Graphics Pro Forma (improved)
Digital Graphics Pro Forma (improved)Digital Graphics Pro Forma (improved)
Digital Graphics Pro Forma (improved)
 
Energia xerach
Energia xerachEnergia xerach
Energia xerach
 
Practising Grammar: Past Simple
Practising Grammar: Past SimplePractising Grammar: Past Simple
Practising Grammar: Past Simple
 
Ingurune xerach eta arkaitz compatible
Ingurune xerach eta arkaitz compatibleIngurune xerach eta arkaitz compatible
Ingurune xerach eta arkaitz compatible
 
Fashion Marketing Project: "Flash Your Style"
Fashion Marketing Project: "Flash Your Style"Fashion Marketing Project: "Flash Your Style"
Fashion Marketing Project: "Flash Your Style"
 
Idea Development
Idea DevelopmentIdea Development
Idea Development
 
Businesslaw By ASIF JAMAL
Businesslaw By ASIF JAMALBusinesslaw By ASIF JAMAL
Businesslaw By ASIF JAMAL
 
Water - No Water No Success
Water - No Water No SuccessWater - No Water No Success
Water - No Water No Success
 

Ähnlich wie Ruby - gnuplot on Mac

初心者向けAndroidゲーム開発ノウハウ
初心者向けAndroidゲーム開発ノウハウ初心者向けAndroidゲーム開発ノウハウ
初心者向けAndroidゲーム開発ノウハウ
Kentarou Mukunasi
 
Nseg20120825
Nseg20120825Nseg20120825
Nseg20120825
hiro345
 
Building Static Website With Github And Jekyll
Building Static Website With Github And JekyllBuilding Static Website With Github And Jekyll
Building Static Website With Github And Jekyll
Yoji Shidara
 
Djangoとweb2pyをapacheに組込む
Djangoとweb2pyをapacheに組込むDjangoとweb2pyをapacheに組込む
Djangoとweb2pyをapacheに組込む
2bo 2bo
 

Ähnlich wie Ruby - gnuplot on Mac (20)

初心者向けAndroidゲーム開発ノウハウ
初心者向けAndroidゲーム開発ノウハウ初心者向けAndroidゲーム開発ノウハウ
初心者向けAndroidゲーム開発ノウハウ
 
mikutter入門
mikutter入門mikutter入門
mikutter入門
 
勉強会向けサーバを作ってみる2 / Rasbian jessieを試す/ Google Authenticatorのパスコードを作る
勉強会向けサーバを作ってみる2 / Rasbian jessieを試す/ Google Authenticatorのパスコードを作る勉強会向けサーバを作ってみる2 / Rasbian jessieを試す/ Google Authenticatorのパスコードを作る
勉強会向けサーバを作ってみる2 / Rasbian jessieを試す/ Google Authenticatorのパスコードを作る
 
マウスを使わないでキーボードで快適に生活する方法(GNU Screen/tmux/byobu/awesome)
マウスを使わないでキーボードで快適に生活する方法(GNU Screen/tmux/byobu/awesome)マウスを使わないでキーボードで快適に生活する方法(GNU Screen/tmux/byobu/awesome)
マウスを使わないでキーボードで快適に生活する方法(GNU Screen/tmux/byobu/awesome)
 
Swiftのアプリ開発でハマったこと
Swiftのアプリ開発でハマったことSwiftのアプリ開発でハマったこと
Swiftのアプリ開発でハマったこと
 
Nseg20120825
Nseg20120825Nseg20120825
Nseg20120825
 
plotnetcfg入門 | Introduction to plotnetcfg
plotnetcfg入門 | Introduction to plotnetcfgplotnetcfg入門 | Introduction to plotnetcfg
plotnetcfg入門 | Introduction to plotnetcfg
 
Building Static Website With Github And Jekyll
Building Static Website With Github And JekyllBuilding Static Website With Github And Jekyll
Building Static Website With Github And Jekyll
 
技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい2
技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい2技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい2
技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい2
 
Mon, Muninによる楽々監視生活
Mon, Muninによる楽々監視生活Mon, Muninによる楽々監視生活
Mon, Muninによる楽々監視生活
 
OSS奨励賞受賞プレゼン 活動紹介
OSS奨励賞受賞プレゼン 活動紹介OSS奨励賞受賞プレゼン 活動紹介
OSS奨励賞受賞プレゼン 活動紹介
 
究極のディストリビューションUbuntu
究極のディストリビューションUbuntu究極のディストリビューションUbuntu
究極のディストリビューションUbuntu
 
about DakotagUI
about DakotagUIabout DakotagUI
about DakotagUI
 
etckeeperをopenSUSEの公式リポジトリに入れたいぞ! Ver.2
etckeeperをopenSUSEの公式リポジトリに入れたいぞ! Ver.2etckeeperをopenSUSEの公式リポジトリに入れたいぞ! Ver.2
etckeeperをopenSUSEの公式リポジトリに入れたいぞ! Ver.2
 
実は怖くないDevOps
実は怖くないDevOps実は怖くないDevOps
実は怖くないDevOps
 
らくちん Go言語
らくちん Go言語らくちん Go言語
らくちん Go言語
 
Djangoとweb2pyをapacheに組込む
Djangoとweb2pyをapacheに組込むDjangoとweb2pyをapacheに組込む
Djangoとweb2pyをapacheに組込む
 
GREE Creators' Meetup #2 session B Manryo
GREE Creators' Meetup #2 session B ManryoGREE Creators' Meetup #2 session B Manryo
GREE Creators' Meetup #2 session B Manryo
 
Ruby で高速なプログラムを書く
Ruby で高速なプログラムを書くRuby で高速なプログラムを書く
Ruby で高速なプログラムを書く
 
Snappy Ubuntu Coreで遊んでみる 2015-06-20
Snappy Ubuntu Coreで遊んでみる 2015-06-20Snappy Ubuntu Coreで遊んでみる 2015-06-20
Snappy Ubuntu Coreで遊んでみる 2015-06-20
 

Kürzlich hochgeladen

Kürzlich hochgeladen (10)

論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 

Ruby - gnuplot on Mac