Similar documents
GNUPLOT GNUPLOT GNUPLOT 1 ( ) GNUPLO

cpall.dvi

gnuplot.dvi

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

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

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

2 A I / 58

2 I I / 61

x1 GNUPLOT 2 x4 12 x1 Gnuplot Gnuplot,,. gnuplot, PS (Post Script), PS ghostview.,.,,,.,., gnuplot,,, (x2). x1.1 Gnuplot (gnuplot, quit) gnuplot,. % g

y2=x2(x+1)-001.ps

Microsoft PowerPoint - 14Gnuplot.ppt

Microsoft Word - gnuplot

Script started on Sun May 26 2::26 22 oyabun% gnuplot G N U P L O T Unix version 3.7 patchlevel ( //8) last modified Fri Oct 22 8:: BST 999 Cop

05 I I / 56

I I / 68

S II. AWK. awk awk awk, perl, $ ruby awk awk perl ruby / / perl } WWW CGI awk /9/{print $} <awk.dat awk 9 awk awk awk.dat. awk {print $} <awk.dat xema

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

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

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 +

dy + P (x)y = Q(x) (1) dx dy dx = P (x)y + Q(x) P (x), Q(x) dy y dx Q(x) 0 homogeneous dy dx = P (x)y 1 y dy = P (x) dx log y = P (x) dx + C y = C exp

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

6 Tgif William Chia-Wei Chang tgif 3.0 pixmap URL Tgif 6.1: Tgif

sin x

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

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,.,

PowerPoint プレゼンテーション

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

programmingII2019-v01

18 ( ) I II III A B C(100 ) 1, 2, 3, 5 I II A B (100 ) 1, 2, 3 I II A B (80 ) 6 8 I II III A B C(80 ) 1 n (1 + x) n (1) n C 1 + n C

GraphicsWithPlotFull.nb Plot[{( 1), ( ),...}, {( ), ( ), ( )}] Plot Plot Cos x Sin x, x, 5 Π, 5 Π, AxesLabel x, y x 1 Plot AxesLabel

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

というプロンプトだったのが gnuplot> というプロンプトに変わっていることに注意してください gnuplot を終了させるときには gnuplot> というプロンプトの後ろで quit と打ちこみます すると /home/snaoki> のようなプロンプトに戻るはずです 2 グラフを描いてみよ

tebiki00.dvi

PowerPoint プレゼンテーション

13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software Nspire Nspire Nspir

web04.dvi

n ( (

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

I

() x + y + y + x dy dx = 0 () dy + xy = x dx y + x y ( 5) ( s55906) 0.7. (). 5 (). ( 6) ( s6590) 0.8 m n. 0.9 n n A. ( 6) ( s6590) f A (λ) = det(a λi)

C 2 / 21 1 y = x 1.1 lagrange.c 1 / Laglange / 2 #include <stdio.h> 3 #include <math.h> 4 int main() 5 { 6 float x[10], y[10]; 7 float xx, pn, p; 8 in

x = a 1 f (a r, a + r) f(a) r a f f(a) 2 2. (a, b) 2 f (a, b) r f(a, b) r (a, b) f f(a, b)

1 No.1 5 C 1 I III F 1 F 2 F 1 F 2 2 Φ 2 (t) = Φ 1 (t) Φ 1 (t t). = Φ 1(t) t = ( 1.5e 0.5t 2.4e 4t 2e 10t ) τ < 0 t > τ Φ 2 (t) < 0 lim t Φ 2 (t) = 0

PowerPoint プレゼンテーション

1 θ i (1) A B θ ( ) A = B = sin 3θ = sin θ (A B sin 2 θ) ( ) 1 2 π 3 < = θ < = 2 π 3 Ax Bx3 = 1 2 θ = π sin θ (2) a b c θ sin 5θ = sin θ f(sin 2 θ) 2

1 1 sin cos P (primary) S (secondly) 2 P S A sin(ω2πt + α) A ω 1 ω α V T m T m 1 100Hz m 2 36km 500Hz. 36km 1

II - ( 02 ) 1,,,, 2, 3. ( ) HP,. 2 MATLAB MATLAB, C Java,,., MATLAB, Workspace, Workspace. Workspace who. whos. MATLAB, MATLAB Workspace. 2.1 Workspac

6.1 OOP Multi Sub a


C:/KENAR/0p1.dvi

( ) kadai4, kadai4.zip.,. 3 cos x [ π, π] Python. ( 100 ), x cos x ( ). (, ). def print cos(): print cos()

[] x < T f(x), x < T f(x), < x < f(x) f(x) f(x) f(x + nt ) = f(x) x < T, n =, 1,, 1, (1.3) f(x) T x 2 f(x) T 2T x 3 f(x), f() = f(t ), f(x), f() f(t )

x () g(x) = f(t) dt f(x), F (x) 3x () g(x) g (x) f(x), F (x) (3) h(x) = x 3x tf(t) dt.9 = {(x, y) ; x, y, x + y } f(x, y) = xy( x y). h (x) f(x), F (x

4 4 4 a b c d a b A c d A a da ad bce O E O n A n O ad bc a d n A n O 5 {a n } S n a k n a n + k S n a a n+ S n n S n n log x x {xy } x, y x + y 7 fx


untitled

DVIOUT

arctan 1 arctan arctan arctan π = = ( ) π = 4 = π = π = π = =

高等学校学習指導要領

高等学校学習指導要領

a0postercls? Gerlinde Kettl, Matthias Weiser T E Xmacro wwwctanorg/tex-archive/macros/latex/contrib/a0poster LAT E X

さくらの個別指導 ( さくら教育研究所 ) A 2 P Q 3 R S T R S T P Q ( ) ( ) m n m n m n n n

OK (S) vncviewer UNIX EDS vncviewer : VNC server: eds.efc.sec.eng.shizuoka.ac.jp:51 OK 2

LeapMotion JINS MEME 2019

GNU Emacs GNU Emacs

2.2 Sage I 11 factor Sage Sage exit quit 1 sage : exit 2 Exiting Sage ( CPU time 0m0.06s, Wall time 2m8.71 s). 2.2 Sage Python Sage 1. Sage.sage 2. sa

3 4 17:00 Address: ( ) (Subject) ( ) LeapMotion EyeTribe Processing LeapMotion EyeTribe 1. Mac OS X, LeapMotion, EyeTribe, Proces

情報活用資料

SFGÇÃÉXÉyÉNÉgÉãå`.pdf

f(x) = x (1) f (1) (2) f (2) f(x) x = a y y = f(x) f (a) y = f(x) A(a, f(a)) f(a + h) f(x) = A f(a) A x (3, 3) O a a + h x 1 f(x) x = a

熊本県数学問題正解

2 4 BASIC (4) WWW BASIC 1 2 ( ) ( ) 1.2 3B 5 14 ( ) ( ) 3 1 1

Bessel ( 06/11/21) Bessel 1 ( ) 1.1 0, 1,..., n n J 0 (x), J 1 (x),..., J n (x) I 0 (x), I 1 (x),..., I n (x) Miller (Miller algorithm) Bess


<4D F736F F D B B83578B6594BB2D834A836F815B82D082C88C60202E646F63>

function2.pdf

2 1 Mathematica Mathematica Mathematica Mathematica Windows Mac * Mathematica 9-1 Expand[(x + y)^7] (x + y) 7 x y Shift *1 Mathematica 1.12

資料

unix.dvi

A S- hara/lectures/lectures-j.html r A = A 5 : 5 = max{ A, } A A A A B A, B A A A %

S I. dy fx x fx y fx + C 3 C vt dy fx 4 x, y dy yt gt + Ct + C dt v e kt xt v e kt + C k x v k + C C xt v k 3 r r + dr e kt S Sr πr dt d v } dt k e kt


Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1) (2) ( ) BASIC BAS

4 4 θ X θ P θ 4. 0, 405 P 0 X 405 X P 4. () 60 () 45 () 40 (4) 765 (5) 40 B 60 0 P = 90, = ( ) = X

II K116 : January 14, ,. A = (a ij ) ij m n. ( ). B m n, C n l. A = max{ a ij }. ij A + B A + B, AC n A C (1) 1. m n (A k ) k=1,... m n A, A k k

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

1

きれいなグラフを作ろう!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

II Karel Švadlenka * [1] 1.1* 5 23 m d2 x dt 2 = cdx kx + mg dt. c, g, k, m 1.2* u = au + bv v = cu + dv v u a, b, c, d R

I A A441 : April 15, 2013 Version : 1.1 I Kawahira, Tomoki TA (Shigehiro, Yoshida )

1

datavis_01_

K E N Z OU

() n C + n C + n C + + n C n n (3) n C + n C + n C 4 + n C + n C 3 + n C 5 + (5) (6 ) n C + nc + 3 nc n nc n (7 ) n C + nc + 3 nc n nc n (

, 3, 6 = 3, 3,,,, 3,, 9, 3, 9, 3, 3, 4, 43, 4, 3, 9, 6, 6,, 0 p, p, p 3,..., p n N = p p p 3 p n + N p n N p p p, p 3,..., p n p, p,..., p n N, 3,,,,

2 R : R R [ 1.1] [ 2.1] R R R plot() contour() 2

Ver ceil floor FunctionGenerator (PTZCameraSony)

( )

1 1 [1] ( 2,625 [2] ( 2, ( ) /

Transcription:

GNUPLOT 28 3 15 UNIX Microsoft-Windows GNUPLOT 4 GNUPLOT 1 GNUPLOT 2 2 3 2.1 UNIX.......................................... 3 2.2 Windows........................................ 4 2.3.................................. 4 3 GNUPLOT 4 3.1.................................. 4 3.2...................................... 5 3.3......................................... 5 3.4........................................... 6 3.5......................................... 6 3.6....................................... 7 3.7.................................. 7 3.8.................................... 7............................................. 8 4 8 5 8 5.1......................................... 8 5.2..................................... 1............................................. 1 1

6 11 6.1........................................... 11 6.2.................................... 11 6.3...................................... 12 7 13 7.1.................................... 13 7.2....................................... 14 7.3.............................. 15 7.4....................................... 16 8 17 8.1.............................. 17 8.2...................................... 18 8.3.......................................... 19 9 2 1 GNUPLOT............................... 3 2 MS-Windows GNUPLOT.................... 4 3 y = x 2 2x.................................. 9 4...................................... 14 5 ( )............................... 15 6................................ 16 7....................................... 16 8................................. 18 9..................................... 19 1.............................. 2 11................................. 21 1 GNUPLOT GNUPLOT GNUPLOT 1 2

( ) GNUPLOT GNUPLOT TEX fitting GNUPLOT 2 2.1 UNIX UNIX X kterm GNUPLOT % gnuplot % UNIX ( ) GNUPLOT 1 1: GNUPLOT 3

2.2 Windows Windows GUI GNUPLOT GNUPLOT Wgnuplot GNUPLOT for Windows 2 GNUPLOT GNUPLOT GNUPLOT UNIX 2: MS-Windows GNUPLOT 2.3 GNUPLOT UNIX Windows GNUPLOT gnuplot> GNUPLOT pwd GNUPLOT GNUPLOT GNUPLOT quit exit UNIX Windows GNUPLOT 3 GNUPLOT 3.1 GNUPLOT UNIX % mkdir ~/gplot % cd ~/gplot % gnuplot (~ ) gplot GNUPLOT GNUPLOT pwd GNUPLOT GNUPLOT 4

cd % cd % gnuplot gnuplot cd Windows GNUPLOT ChDir 3.2 GNUPLOT Windows 1 + 2 gnuplot> print 1+2 Enter ( gnuplot> GNUPLOT ) Windows Expressions Evaluate print 1+2 Enter Expressions Functions GNUPLOT print 9/4 2 9./4 9/4. 2.25 3.3 GNUPLOT gnuplot> print sin(3.14) gnuplot> print log(exp(1.)**2) 5

sqrt ( ) cos tan abs ( ) atan (Arctan) floor ( ) tanh besj (Bessel ) gamma (Γ ) 3.4 gnuplot> kekka = sin(3.14) + 1 gnuplot> print kekka 1.159 gnuplot> print - kekka -1.159 kekka ( ) the_mass_of_electron 1 kekka Kekka kekka 1.159 kekka=.5 3.5 2 2 ( ) gnuplot> f(x) = x**2. - 2.*x gnuplot> g(x,y) = x**2 - y**2 gnuplot> print f(3.) 3. gnuplot> print g(2., 1.) 3. gnuplot> print g(1., 2.) -3. * ** f(x) = x 2 2x 1 2 g(x, y) = x 2 y 2 2 print x y 1. 2. 3. = 6

3.6 GNUPLOT gnuplot> sin = 12345 gnuplot> print sin(3.14).159265 gnuplot> print sin 12345 gnuplot> print = 123 gnuplot> print 456 456 gnuplot> print print 123 3.7 Backspace Enter Windows Prev Next 3.8 help UNIX Return Return Windows Help help GNUPLOT functions gnuplot> help functions 7

e x exp(x) pr exp(1) e 2.71828... e 2+3 e 2 e 3 e 2 + e 3 GNUPLOT e 2 3 e 2 e 3 4 GNUPLOT Windows File Demos demo OK.dem GNUPLOT UNIX GNUPLOT ( ) % mkdir gplotdemo % cp /usr/share/doc/gnuplot-doc/examples/* gplotdemo/ % cd gplotdemo % gnuplot all.dem all.dem % gnuplot simple.dem Hit return to continue Enter Notepad emacs GNUPLOT # 5 5.1 y = x 2 2x gnuplot> plot x**2-2*x 8

( x plot dummy ) x = x = 2 x 2 gnuplot> set xrange [-1:3] gnuplot> replot set set xrange replot 3 set xrange gnuplot> set xrange [-1, 3] ^ : or keyword to expected : ( ) to 3.5 A Parabola 3 2.5 Dependent variable 2 1.5 1.5 -.5-1 -1 -.5.5 1 1.5 2 2.5 3 Independent variable 3: y = x 2 2x y y = 1/x set yrange y x gnuplot> set yrange [-3:3] gnuplot> plot 1/x y gnuplot> set autoscale y show 9

gnuplot> show xrange gnuplot> show all replot rep plot p OK set xrange se xr Ok se x 5.2 gnuplot> set xlabel "Independent variable" gnuplot> set ylabel "Dependent variable" gnuplot> set title "A Parabola (by Imoko Ono, May 67)" gnuplot> replot "Independent variable" Windows Axes Chart gnuplot> set grid gnuplot> replot set grid unset grid Key Regend( ) gnuplot> unset key Windows Chart g(x) = e x2 g(x)=exp(-x**2) plot g(x) 2g(x) plot 2*g(x) g(x) 1 g(2x) g(x/2) g(x 2) g(x + 1) 1

6 6.1 Windows Print UNIX GNUPLOT gnuplot> se te po la 22; se ou " lpr"; rep; se ou; se te x11 " lpr" se ou " lpr" set output " lpr" GNUPLOT lpr lpr gtklp gnuplot> se te po la 22; se ou " gtklp"; rep; se ou; se te x11 gtklp gnuplot> set terminal postscript landscape 22 gnuplot> set output " lpr" gnuplot> replot gnuplot> set output gnuplot> set term x11 UNIX PostScript landscape portrait 22 22 (1.35 mm) help postscript replot set output lpr X PostScript 6.2 landscape eps Windows eps 11

Encapsulated PostScript gnuplot> se te po eps 22; se ou "parabola.eps"; rep; se ou; se te x11 Windows gnuplot> se te po eps 22; se ou "parabola.eps"; rep; se ou; se te win UNIX % gv parabola.eps gv ggv evince display ( ) Windows L A TEX eps Adebe Illustrator eps epsbox graphics L A TEX web eps png gnuplot> se te png giant; se ou "parabola.png"; rep; se ou; se te x11 giant png GNUPLOT web 6.3 Adobe Illustrator eps Adobe Illustrator inkscape Adobe Illustrator inkscape inkscape eps svg svg gnuplot> se te svg size 1 75 fsize 2 gnuplot> se ou "parabola.svg"; rep; se ou; se te x11 size fsize inkscape UNIX Windows GNUPlot set terminal tgif tgif fig xfig 12

UNIX L A TEX L A TEX L A TEX psfrag Postscript TEX TEX EQ1 x N(x )dx Postscript EQ1 eps svg Adobe Illustrator inkscape eps GNUPLOT TEX set terminal epslatex epslatex eps TEX tex TEX 7 7.1 x y = 1 (x 1/x) 2 + D 2 D D D x-y R(x, D) gnuplot> R(x, D)= 1 / ( (x - 1/x)**2 + D**2 ) D = 1 gnuplot> plot R(x, 1) D =.5 D = 2 gnuplot> se title "Response of Linear Oscilator" gnuplot> set xlabel "normalized frequency" gnuplot> set ylabel "intensity" gnuplot> set xrange [: 4] gnuplot> set samples 25 gnuplot> set key gnuplot> plot R(x, 1) title "D=1", R(x, 2) ti "D=2", R(x,.5) ti "D=.5" 13

4 3.5 3 Response of Linear Oscilator D=2 D=1 D=.5 intensity 2.5 2 1.5 1.5.5 1 1.5 2 2.5 3 3.5 4 normalized frequency 4: plot set samples 1 25 set key plot title "D=1" 7.2 D x gnuplot> set logscale x gnuplot> set logscale y gnuplot> set xrange [.1: 1] gnuplot> set yrange [.5: 2] gnuplot> set samples 4 gnuplot> plot R(x,.1), R(x, 1), R(x, 1) 14

Response of Linear Oscilator 1 1 D=.1 D=1 D=1 intensity 1.1.1.1 1e-4.1.1 1 1 1 normalized frequency 5: ( ) set logscale x y set xrange x y gnuplot> unsetset logscale gnuplot> set autoscale y 7.3 x y x y GNUPLOT t x = sin t + t, y = cos t gnuplot> set parametric dummy variable is t for curves, u/v for surfaces gnuplot> set trange [-5:5] gnuplot> set autoscale gnuplot> plot sin(t)+t, cos(t) set parametric plot unset parametric plot x y t t set trange set autoscale 2 plot x, y 15

2 sin(t)+t, cos(t) 2*sin(t)+t, 2*cos(t) Y -2-6 -4-2 2 4 6 X 6: 7.4 Kepler r = a(1 + e)/(1 + e cos θ) a e r θ e r e = e 1 r a a(1 + e)/(1 e) e 1 e e < 1 e = 1 4 2 e= e=.5 e=1 e=2 Y 4 2 2 4 2 4 X 7: gnuplot> Q(x, e) = (1+e)/(1+e*cos(x)) 16

Q(x, e) θ x gnuplot> unset grid gnuplot> unset parametric gnuplot> set polar gnuplot> set xrange [-3.14: 3.14] gnuplot> set yrange [-5: 5] gnuplot> plot Q(x,) title "e=", \ > Q(x,.5) title "e=.5",\ > Q(x,1) title "e=1", \ > Q(x,2) title "e=2" set polar plot set noparametric set yrange y plot title ( Windows Y= ) > 8 8.1 x y G(x, y) = e x2 e y2 = exp ( (x 2 + y 2 ) ) x =, y = x y G((x 1)/2, y) x 1 x 2 gnuplot> g(x,y) = exp(-x**2 - y**2) gnuplot> set xrange [-1:1] gnuplot> set yrange [-1:1] gnuplot> set zrange [:1.1] gnuplot> splot g(x/5,y/5) 4 gnuplot> set isosamples 4,4 ; replot 17

gnuplot> set hidden ; replot g(x-5,y+3,4,4) + g(x+5,y+3,4,4) +.6*g(x,y-3,2,2) 1.5 5 1-1 -5 5-1 -5 8: gnuplot> h(x,y,w) = g(x/w, y/w) gnuplot> splot h(x-5,y+3,4) + h(x+5,y+3,4) +.6*h(x,y-3,2) h(x,y,w).6 gnuplot> set view 45,3 gnuplot> replot x z z 8.2 gnuplot> set hidden gnuplot> set pm3d at s gnuplot> replot set pm3d at s set pm3d at bs set pm3d at b set pm3d at b unset surface 18

h(x-5,y+3,4) + h(x+5,y+3,4) +.6*h(x,y-3,2) 1.8.6.4.2 1.9.8.7.6.5.4.3.1.2-1 -5 5 1-1 -5 5 1 9: 8.3 set contour splot x-y set nosurface gnuplot> set contour gnuplot> unset surface gnuplot> set view, gnuplot> splot h(x-5,y+3,4) + h(x+5,y+3,4) +.6*h(x,y-3,2) B-Spline gnuplot> set isosamples 1,1 gnuplot> set samples 1,1 gnuplot> set cntrparam bspline gnuplot> set cntrparam levels 2 gnuplot> replot 19

1 1.9.8.7.6.5.4.3.2.1 5-5 -1-5 5 1-1 1: 9 GNUPLOT GNUPLOT 6.8 3 7.8 6 6. 7 5.1 1.4 8 4.2 9 2. 4 7.3 5 6.8 2 7.7 1 7.5 data1 ( mule ) GNUPLOT 2

gnuplot> plot "data1" gnuplot> plot 8 -.1*x**2, "data1" gnuplot> f(x) = a*x**2 + b*x + c gnuplot> a = -.1 gnuplot> b = gnuplot> c = 8 gnuplot> plot f(x), "data1" fit gnuplot> fit f(x) "data1" via a,b,c a, b, c gnuplot> print a,b,c 8 7 6 5 4 3 2 1 f(x) "data1" 2 4 6 8 1 11: ( ) 21