gnuplot
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
Basic usage
gnuplot> splot 'D:\eclipse\velocity_autocorrelation\data.dat' with points pt 6 ps 0.1
data.dat is three-dimensionally plotted with circle of 0.1 size. Plot type and color can be checked follwing command.
gnuplot> test
マルチプロット
http://auewe.hatenablog.com/entry/2013/05/17/214956
Gnuplotの使い方
http://ruby.kyoto-wu.ac.jp/konami/Documents/gnuplot.html
基礎的な使い方
http://www.cc.kyoto-su.ac.jp/~mtkg/lecture/comp_A/2012/09.html
http://www.cc.kyoto-su.ac.jp/~mtkg/lecture/comp_A/2012/10.html
gnuplotコマンド集
http://www.gnuplot-cmd.com/index.html
球体の書き方
http://folk.uio.no/hpl/scripting/doc/gnuplot/Kawano/spherical_harmonics/parametric.html
Gnuplotのグラフを調整するには
http://www.proton.jp/main/apps/gnuplotadjust.html
3次元プロットのあれこれ (その1)
http://folk.uio.no/hpl/scripting/doc/gnuplot/Kawano/plot3d.html
#highlighter(){{
gnuplot> set parametric
gnuplot> set zrange [-2:2]
gnuplot> set xrange [-2:2]
gnuplot> set yrange [-2:2]
gnuplot> set isosample 36
gnuplot> set xlabel "x"
gnuplot> set ylabel "y"
gnuplot> splot 'D:\eclipse\velocity_autocorrelation\test00.dat', u,v, 0, 0,u,v
gnuplot> set terminal
gnuplot> set terminal postscript enhanced color
Terminal type set to 'postscript'
gnuplot> set output 'd:\test02.eps'
gnuplot> replot
gnuplot> set output
gnuplot> set terminal windows
gnuplot>
}}
minal type set to 'wxt'
gnuplot> load 'D:\test.dat'
gnuplot> 0 0 0
^
"D:\test.dat", line 1: invalid command
gnuplot> plot 'D:\test.dat'
gnuplot> splot 'D:\test.dat'
gnuplot> set parametric
dummy variable is t for curves, u/v for surfaces
gnuplot> splot u,v, 6
Warning: empty z range [6:6], adjusting to [5.94:6.06]
gnuplot> splot 'D:\test.dat'
gnuplot> splot 'D:\test.dat' u,v ,6
^
invalid expression
gnuplot> splot 'D:\test.dat', u,v ,6
gnuplot> set urange [0:180]
gnuplot> set vrange [0:180]
gnuplot> rep
gnuplot> set ticlevel 0
^
unrecognized option - see 'help set'.
gnuplot> set ticslevel 0
gnuplot> rep
gnuplot> set ticslevel 1
gnuplot> rep
gnuplot> set ticslevel 0
gnuplot> rep
gnuplot> set isosample 36,36
gnuplot> rep
gnuplot> set isosample 360,360
gnuplot> rep
gnuplot> set isosample 60,60
gnuplot> rep
gnuplot> splot 'D:\test.dat'with dot, u,v ,6
gnuplot> splot 'D:\test.dat'with dot, u,v ,6 with dot
gnuplot> set isosample 160,160
gnuplot> rep
gnuplot> set pm3d
gnuplot> rep
gnuplot> set output "test"
gnuplot>
*OUTPUT [#acdc6889]
**Output PNG format [#be9a3c97]
To save a graph as PNG or EPS format, output target has to be set as PNG or EPS.
And then 'set output' command has to be entered to output plot file.
After saving the graph, it is necessary to return the standard output to windows (or X11).
***In case of PNG. [#pd519eef]
#highlighter(){{
gnuplot> set terminal png # Redirect the output to PNG.
gnuplot> set output 'D:test.png' # Set output file name as "test.png" in D\.
gnuplot> replot # plot the graph as PNG format.
gnuplot> set terminal windows # Return to standard output (In case of Windows)
gnuplot> set terminal x11 # Return to standard output (In case of Linux)
}}
***In case of EPS [#jb985700]
グラフをEPS形式で保存するにはPNG形式と同様に,set terminal コマンドを使用して出力対象をEPSに変更した後, set output コマンドを使用して出力するファイルを指定します.
EPS形式はモノクロか,カラーかによって指定の仕方が異なります.
•set terminal postscript eps # モノクロ
•set terminal postscript enhanced color # カラー
例
gnuplot> set terminal postscript eps # 出力先をEPSに設定
gnuplot> set output 'test.eps' # 出力ファイル名をtest.epsに設定
gnuplot> plot x # グラフをEPSにプロット
gnuplot> # 出力先を標準出力に戻す (Windowsの場合)
gnuplot> set terminal windows
gnuplot> # 出力先を標準出力に戻す (Linuxの場合)
gnuplot> # set terminal x11
gnuplot> set output
終了行:
Basic usage
gnuplot> splot 'D:\eclipse\velocity_autocorrelation\data.dat' with points pt 6 ps 0.1
data.dat is three-dimensionally plotted with circle of 0.1 size. Plot type and color can be checked follwing command.
gnuplot> test
マルチプロット
http://auewe.hatenablog.com/entry/2013/05/17/214956
Gnuplotの使い方
http://ruby.kyoto-wu.ac.jp/konami/Documents/gnuplot.html
基礎的な使い方
http://www.cc.kyoto-su.ac.jp/~mtkg/lecture/comp_A/2012/09.html
http://www.cc.kyoto-su.ac.jp/~mtkg/lecture/comp_A/2012/10.html
gnuplotコマンド集
http://www.gnuplot-cmd.com/index.html
球体の書き方
http://folk.uio.no/hpl/scripting/doc/gnuplot/Kawano/spherical_harmonics/parametric.html
Gnuplotのグラフを調整するには
http://www.proton.jp/main/apps/gnuplotadjust.html
3次元プロットのあれこれ (その1)
http://folk.uio.no/hpl/scripting/doc/gnuplot/Kawano/plot3d.html
#highlighter(){{
gnuplot> set parametric
gnuplot> set zrange [-2:2]
gnuplot> set xrange [-2:2]
gnuplot> set yrange [-2:2]
gnuplot> set isosample 36
gnuplot> set xlabel "x"
gnuplot> set ylabel "y"
gnuplot> splot 'D:\eclipse\velocity_autocorrelation\test00.dat', u,v, 0, 0,u,v
gnuplot> set terminal
gnuplot> set terminal postscript enhanced color
Terminal type set to 'postscript'
gnuplot> set output 'd:\test02.eps'
gnuplot> replot
gnuplot> set output
gnuplot> set terminal windows
gnuplot>
}}
minal type set to 'wxt'
gnuplot> load 'D:\test.dat'
gnuplot> 0 0 0
^
"D:\test.dat", line 1: invalid command
gnuplot> plot 'D:\test.dat'
gnuplot> splot 'D:\test.dat'
gnuplot> set parametric
dummy variable is t for curves, u/v for surfaces
gnuplot> splot u,v, 6
Warning: empty z range [6:6], adjusting to [5.94:6.06]
gnuplot> splot 'D:\test.dat'
gnuplot> splot 'D:\test.dat' u,v ,6
^
invalid expression
gnuplot> splot 'D:\test.dat', u,v ,6
gnuplot> set urange [0:180]
gnuplot> set vrange [0:180]
gnuplot> rep
gnuplot> set ticlevel 0
^
unrecognized option - see 'help set'.
gnuplot> set ticslevel 0
gnuplot> rep
gnuplot> set ticslevel 1
gnuplot> rep
gnuplot> set ticslevel 0
gnuplot> rep
gnuplot> set isosample 36,36
gnuplot> rep
gnuplot> set isosample 360,360
gnuplot> rep
gnuplot> set isosample 60,60
gnuplot> rep
gnuplot> splot 'D:\test.dat'with dot, u,v ,6
gnuplot> splot 'D:\test.dat'with dot, u,v ,6 with dot
gnuplot> set isosample 160,160
gnuplot> rep
gnuplot> set pm3d
gnuplot> rep
gnuplot> set output "test"
gnuplot>
*OUTPUT [#acdc6889]
**Output PNG format [#be9a3c97]
To save a graph as PNG or EPS format, output target has to be set as PNG or EPS.
And then 'set output' command has to be entered to output plot file.
After saving the graph, it is necessary to return the standard output to windows (or X11).
***In case of PNG. [#pd519eef]
#highlighter(){{
gnuplot> set terminal png # Redirect the output to PNG.
gnuplot> set output 'D:test.png' # Set output file name as "test.png" in D\.
gnuplot> replot # plot the graph as PNG format.
gnuplot> set terminal windows # Return to standard output (In case of Windows)
gnuplot> set terminal x11 # Return to standard output (In case of Linux)
}}
***In case of EPS [#jb985700]
グラフをEPS形式で保存するにはPNG形式と同様に,set terminal コマンドを使用して出力対象をEPSに変更した後, set output コマンドを使用して出力するファイルを指定します.
EPS形式はモノクロか,カラーかによって指定の仕方が異なります.
•set terminal postscript eps # モノクロ
•set terminal postscript enhanced color # カラー
例
gnuplot> set terminal postscript eps # 出力先をEPSに設定
gnuplot> set output 'test.eps' # 出力ファイル名をtest.epsに設定
gnuplot> plot x # グラフをEPSにプロット
gnuplot> # 出力先を標準出力に戻す (Windowsの場合)
gnuplot> set terminal windows
gnuplot> # 出力先を標準出力に戻す (Linuxの場合)
gnuplot> # set terminal x11
gnuplot> set output
ページ名: