2006년 09월 07일
[gnoplot] Window용 GnuPlot 사용하기
설치는 쉽다.
다음 사이트에서 위도우즈용 (gp41-July18_2006-winbin.zip)을 받아서 풀면,
http://gnuplot.sourceforge.net/development/binaries/
binaries 디렉토리에 wgnuplot 실행파일이 있다.
폰트는 마우스 오른쪽을 누르면 Choose Font가 있고 거기서 글꼴을 선택한후
다시 마우스 오른쪽 버튼을 누른후 업데이트를 한다.
간단한 테스트, Plot을 누른후 sin(x)하면 새로운차에 sin(x)값이 나타남.
참고사이트: 충남대 물리학과 오병성교수의 글 참조바랍.
http://www.cnu.ac.kr/~byung/Softwares/gnuplot/TOC.htm
좋은사이트(한국어)
http://wiki.kldp.org/KoreanDoc/html/GnuPlot-KLDP/index.html
script예제:
set term postscript enhanced color "Times New-Roman" 24
set output 'sim4-result.eps'
set xlabel "K-RDA Failure Ratio" 0, 0
set ylabel "Query Success Ratio" 0.8, 0
set key 0.5, 0.28
set xrange [-0.05:1.05]
set yrange [-0.05:1.05]
plot
'sim4-result.txt' index 4 with linespoints title "5 Representative Properties",
'sim4-result.txt' index 3 with linespoints title "4 Representative Properties",
'sim4-result.txt' index 2 with linespoints title "3 Representative Properties",
'sim4-result.txt' index 1 with linespoints title "2 Representative Properties",
'sim4-result.txt' index 0 with linespoints title "1 Representative Property"
그림을 그리기위해서는
wgnuplot script file
start sim4-result.eps
다음 사이트에서 위도우즈용 (gp41-July18_2006-winbin.zip)을 받아서 풀면,
http://gnuplot.sourceforge.net/development/binaries/
binaries 디렉토리에 wgnuplot 실행파일이 있다.
폰트는 마우스 오른쪽을 누르면 Choose Font가 있고 거기서 글꼴을 선택한후
다시 마우스 오른쪽 버튼을 누른후 업데이트를 한다.
간단한 테스트, Plot을 누른후 sin(x)하면 새로운차에 sin(x)값이 나타남.
참고사이트: 충남대 물리학과 오병성교수의 글 참조바랍.
http://www.cnu.ac.kr/~byung/Softwares/gnuplot/TOC.htm
좋은사이트(한국어)
http://wiki.kldp.org/KoreanDoc/html/GnuPlot-KLDP/index.html
script예제:
set term postscript enhanced color "Times New-Roman" 24
set output 'sim4-result.eps'
set xlabel "K-RDA Failure Ratio" 0, 0
set ylabel "Query Success Ratio" 0.8, 0
set key 0.5, 0.28
set xrange [-0.05:1.05]
set yrange [-0.05:1.05]
plot
'sim4-result.txt' index 4 with linespoints title "5 Representative Properties",
'sim4-result.txt' index 3 with linespoints title "4 Representative Properties",
'sim4-result.txt' index 2 with linespoints title "3 Representative Properties",
'sim4-result.txt' index 1 with linespoints title "2 Representative Properties",
'sim4-result.txt' index 0 with linespoints title "1 Representative Property"
그림을 그리기위해서는
wgnuplot script file
start sim4-result.eps
# by | 2006/09/07 02:19 | 컴퓨팅도우미 | 트랙백





☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]