정보
-
업무명 : 그누플롯 RCP 26 모델 결과를 이용한 시계열
-
작성자 : 이상호
-
작성일 : 2019-08-31
-
설 명 :
-
수정이력 :
내용
[특징]
-
RCP26 모델 결과를 효율적으로 시각화하기 위한 소프트웨어가 필요하며 이 프로그램은 이러한 목적을 달성하기 위해 고안된 소프트웨어
[기능]
-
여름 및 겨울철에 따른 최댓값 및 최솟값 동적 설정
-
RCP26 평균과 최대치를 이용하여 범례 표시 및 시계열 가시화
[사용법]
-
RCP26 모델 결과를 동일 디렉터리에 위치
-
소스 코드 (csh Time_Series_Using_RCP26_Model_Result.csh) 실행
-
가시화 결과를 확인
[사용 OS]
-
Linux
[사용 언어]
-
Gnuplot
-
ShellScript (csh)
소스 코드
[명세]
#!/bin/gnuplot
set Name = (Summer Winter)
set Max = (110 100)
set Min = (50 40)
set fn = (1 2)
foreach fn1 ($fn)
gnuplot << EOG
set terminal post enhanced color font "Time-Roman, 18" background rgb "white"
set output "1.gif"
set grid
set key noopaque
set key top right
set title "$Name[$fn1]"
set title font "bold, 26" textcolor rgb "black"
set tics nomirror
set xlabel "DATE"
set xlabel font "bold, 18" textcolor rgb "black" norotate
set xrange [ 2010 : 2100 ] noreverse nowriteback
set xtics in 2010, 10, 2100
set mxtics 2
set ylabel "THI"
set ylabel font "bold, 18" textcolor rgb "black" rotate by -270
set yrange [ $Min[$fn1] : $Max[$fn1] ] noreverse nowriteback
set ytics in $Min[$fn1], 5, $Max[$fn1] font "Time-Roman, 18"
set mytics 2
plot "fort.${fn1}" u 1:2 axes x1y1 w l ls 1 t "Summer Max" ,\
"" u 1:3 axes x1y1 w l ls 2 t "Summer Ori" ,\
EOG
mogrify -rotate 90 -matte -background none 1.gif
mv -f 1.gif $Name[$fn1].gif
end
[GitHub Gist]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/gnuplot | |
set Name = (Summer Winter) | |
set Max = (110 100) | |
set Min = (50 40) | |
set fn = (1 2) | |
foreach fn1 ($fn) | |
gnuplot << EOG | |
set terminal post enhanced color font "Time-Roman, 18" background rgb "white" | |
set output "1.gif" | |
set grid | |
set key noopaque | |
set key top right | |
set title "Name[Name[fn1]" | |
set title font "bold, 26" textcolor rgb "black" | |
set tics nomirror | |
set xlabel "DATE" | |
set xlabel font "bold, 18" textcolor rgb "black" norotate | |
set xrange [ 2010 : 2100 ] noreverse nowriteback | |
set xtics in 2010, 10, 2100 | |
set mxtics 2 | |
set ylabel "THI" | |
set ylabel font "bold, 18" textcolor rgb "black" rotate by -270 | |
set yrange [ Min[Min[fn1] : Max[Max[fn1] ] noreverse nowriteback | |
set ytics in Min[Min[fn1], 5, Max[Max[fn1] font "Time-Roman, 18" | |
set mytics 2 | |
plot "fort.${fn1}" u 1:2 axes x1y1 w l ls 1 t "Summer Max" ,\ | |
"" u 1:3 axes x1y1 w l ls 2 t "Summer Ori" ,\ | |
EOG | |
mogrify -rotate 90 -matte -background none 1.gif | |
mv -f 1.gif Name[Name[fn1].gif | |
end |
결과
-
2010-2100년 여름철 RCP26 시계열
![](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
참고 문헌
[논문]
- 없음
[보고서]
- 없음
[URL]
- 없음
문의사항
[기상학/프로그래밍 언어]
- sangho.lee.1990@gmail.com
[해양학/천문학/빅데이터]
- saimang0804@gmail.com
'프로그래밍 언어 > Gnuplot' 카테고리의 다른 글
[Gnuplot] 온라인/오프라인 리눅스 (Linux) 환경에 따른 그누플롯 (Gnuplot) 설치 방법 (1) | 2020.02.08 |
---|---|
[Gnuplot] 그누플롯 일사계 관측 자료를 이용한 환풍 유무에 따른 시계열 (0) | 2019.09.01 |
[Gnuplot] 그누플롯 월별 온도와 강우 변동에 따른 가시화 (0) | 2019.09.01 |
[Gnuplot] 그누플롯 기계 도면을 이용한 가시화 (0) | 2019.09.01 |
[Gnuplot] 그누플롯 기초 및 필수 명령어 설정 (0) | 2019.08.31 |
최근댓글