Debian での数学ことはじめ。 - gnuplot, Octave, R 入門

Similar documents
gnuplot.dvi

gnuplot gnuplot 1 3 y = x 3 + 3x 2 2 y = sin x sin(x) x*x*x+3*x*x

情報活用資料

2 Windows 10 *1 3 Linux 3.1 Windows Bash on Ubuntu on Windows cygwin MacOS Linux OS Ubuntu OS Linux OS 1 GUI Windows Explorer Mac Finder 1 GUI

1 R Windows R 1.1 R The R project web R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 9

2 I I / 61

1 1 Gnuplot gnuplot Windows gnuplot gp443win32.zip gnuplot binary, contrib, demo, docs, license 5 BUGS, Chang

きれいなグラフを作ろう!gnuplot 入門 1. 基本 1.1. プロット :test.plt plot x, sin(x) 1.2. データファイルのプロット 1:data.plt plot "data.dat" 1.3. データファイルのプロット 2:data2.plt plot "data2

1.3 2 gnuplot> set samples gnuplot> plot sin(x) sin gnuplot> plot [0:6.28] [-1.5:1.5] sin(x) gnuplot> plot [-6.28:6.28] [-1.5:1.5] sin(x),co

Łñ“’‘‚2004

プリント


programmingII2019-v01

Microsoft Word - gnuplot

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

Use R

Unix * 3 PC 2 Linux, Mac *4 Windows Cygwin Cygwin gnuplot Cygwin unix emulator online gnuplot *5 matplotlib *6 SuperMongo *7 gnuplot gnuplot OS *8 Uni

理工学図書館後期 LS 講習会 きれいなグラフを作ろう! gnuplot 入門

Foundation (FSF) GNU 1 gnuplot ( ) gnuplot UNIX Windows Machintosh Excel Excel gnuplot C web

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi


Since

web05.dvi

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè3²ó

バージョン管理ツールを使い Debian パッケージを管理する - Git 編


3. :, c, ν. 4. Burgers : t + c x = ν 2 u x 2, (3), ν. 5. : t + u x = ν 2 u x 2, (4), c. 2 u t 2 = c2 2 u x 2, (5) (1) (4), (1 Navier Stokes,., ν. t +

-2 gnuplot( ) j ( ) gnuplot /shell/myscript 1


untitled

untitled


Ansible

LeapMotion JINS MEME 2019


gnuplot の使い方 gnuplot は汎用的で しかも手軽に使えるプロッティング プログラムです 計算結果をグラフにするとき に非常に便利なので ぜひ覚えてください 1 gnuplot の始め方 終わり方 gnuplot の始め方は ターミナル上のプロンプトの後ろで gnuplot と打つだけ

untitled

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

174 Debian.Deb 銀河系唯一の Debian 専門誌 /usr Merge

プレゼンテーション

3. :, c, ν. 4. Burgers : u t + c u x = ν 2 u x 2, (3), ν. 5. : u t + u u x = ν 2 u x 2, (4), c. 2 u t 2 = c2 2 u x 2, (5) (1) (4), (1 Navier Stokes,.,

東京エリア Debian 勉強会 - 資料

東京エリアDebian勉強会 - 第91回 2012年9月度/OSC2012 Tokyo/Fall)

PowerPoint プレゼンテーション

output2010本文.indd

大統一Debian勉強会 gdb+python拡張を使ったデバッグ手法

E2 Spider 2018/08/03 Intel NUC Core i7 PC 2.5 /M.2 SSD BOXNUC7I7BNH PC DDR4-2133(PC ) 8GBX2 260pin 1.2V CL15 SP016GBSFU213B22 WD SSD M /51

9 rbenv rbenv ruby 9.1 rbenv rbenv rbenv ruby ruby-build ruby 9.2 rbenv macos.bash_profile ~/.bash_profile ~/.bash_profile.bak $ touch ~/.bash_profile

グラフ描画ソフトGnuplotを使う

3 Ubuntu Linux Ubuntu Linux Debian Linux DistroWatch.com 1 Debian Ubuntu Linux 1 Debian CD(4.1 ) Knoppix Debian CentOS Linux CentOS 1 Ubuntu L

CSR報告書2006


DCL intro Manual for Ubuntu11.10

2 3


untitled

datavis_01_

1

資料

gnuplotのつかいかた:メニュー

X Window System X X &

1 1.1 (JCPRG) 30 Nuclear Reaction Data File (NRDF) PC GSYS2.4 JCPRG GSYS2.4 Java Windows, Linux, Max OS X, FreeBSD GUI PNG, GIF, JPEG X Y GSYS2

help gem gem gem my help

Python ( ) Anaconda 2 3 Python Python IDLE Python NumPy 6 5 matpl

caff と mail-transport-agent - 第156回 2017年10月度 東京エリアDebian勉強会

Evoltion of onentration by Eler method (Dirihlet) Evoltion of onentration by Eler method (Nemann).2 t n =.4n.2 t n =.4n : t n

PowerPoint プレゼンテーション



オフラインメンテナンス説明書

Transcription:

.... Debian gnuplot, Octave, R mkouhei@debian.or.jp IRC nick: mkouhei 2009 11 14

OOo OS diff git diff --binary

gnuplot GNU Octave GNU R

gnuplot LaTeX GNU Octave gnuplot MATLAB 1 GNU R 1 MATLAB (clone)

gnuplot $ sudo apt-get install gnuplot GNU Octave $ sudo apt-get install octave3.2 GNU R $ sudo apt-get install r-base

"date","days","kwh","kwh/d","yen/d","yen","days","m^3","m^3/d","yen/d","yen"," 2001/04,11,34,3.09,83.5,918,36,4.9,0.14,108.3,3900,58,9,0.16,22.8,1320,, 2001/05,33,95,2.88,73.8,2434,29,3.5,0.12,114.1,3310,,,,,,, 2001/06,30,129,4.3,102.7,3082,32,3,0.09,96.9,3100,61,3,0.05,15.7,960,, 2001/07,28,155,5.54,131.3,3676,28,1.7,0.06,91.1,2550,,,,,,, (snip) image200911/konetsu.csv

2001 4 2009 9 2 2006 9 30A 40A 2008 10

gnuplot set reset set terminal epslatex input color set output "gnuplot.tex" set datafile separator "," set xdata time set timefmt "%Y/%m" set format x "%Y/%m" set xtics rotate by -90 set mxtics 12 set xrange ["2001/04":"2009/08"] set yrange [0:400] set xlabel " " set ylabel " [kwh]" set y2range [0:50] set y2label " [ ]" set ytics nomirror set y2tics plot "kohnetsuhi.csv" using 1:3 axes x1y1 \ title " " with line,\ "" using 1:8 axes x1y2 title " " with line,\ "" using 1:13 axes x1y2 title " " with line [kwh] 400 350 300 250 200 150 100 50 0 2002/01 2003/01 2004/01 2005/01 2006/01 2007/01 2008/01 2009/01 50 40 30 20 10 0 [ ]

gnuplot set reset # set terminal epslatex input color # EPS LaTeX set output "gnuplot.tex" # gnuplot.tex set datafile separator "," # set xdata time # x set timefmt "%Y/%m" # set format x "%Y/%m" # x set xtics rotate by -90 # x -90 set mxtics 12 # x set xrange ["2001/04":"2009/08"] # x set yrange [0:400] # y set xlabel " " # x set ylabel " [kwh]" # y set y2range [0:50] # 2y set y2label " [ ]" # 2y set ytics nomirror # 2y set y2tics # 2y plot "kohnetsuhi.csv" using 1:3 axes x1y1 \ # 1,3 x y title " " with line,\ # "" using 1:8 axes x1y2 title " " with line,\ "" using 1:13 axes x1y2 title " " with line

gnuplot gnuplot $ gnuplot > load gnuplot.gp > exit $ ls gnuplot.eps gnuplot.tex LaTeX 3

GNU R $ R > konetsu <- read.csv("konetsu.csv") > plot(konetsu$kwh, type="l", ylim=c(0,400), ann=f) > par(new=t) > plot(konetsu$m.3, type="l", ylim=c(0,400), ann=f, col="red") > par(new=t) > plot(konetsu$m.3.1, ylim=c(0,400), ann=f, col="blue")

GNU R 0 100 200 300 400 0 20 40 60 80 100 gnuplot 2y GNU R

GNU R > cor.test(konetsu$kwh, konetsu$m.3) Pearson s product-moment correlation data: konetsu$kwh and konetsu$m.3 t = 1.3154, df = 100, p-value = 0.1914 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: -0.06572595 0.31685457 sample estimates: cor 0.1304159

GNU Octave

Debian

GNU Octave Octave-Forge GNU R CRAN(the Conprehensive R Archive Network) Perl CPAN

deb deb $ apt-cache search "GNU R" wc -l 213 $ apt-cache search octave wc -l 133

deb deb Octave octave-pkg-dev debian/control Build-Depends octave-pkg-dev, Depends ${octave Depends} debian/rues include /usr/share/cdbs/1/class/octave-pkg.mk Octave-Forge rules SOURCEFORGE=NO R r-base-dev Debian /usr/lib/r/bin/r.binary Java

gnuplot, GNU R, GNU Octave gnuplot, GNU R Debian