감동, 마음이 움직이는 것
[gnuplot] rgbimage 본문
(참고)
http://www.manpagez.com/info/gnuplot/gnuplot-4.4.3/gnuplot_146.php#rgbimage
http://gnuplot.sourceforge.net/demo/image.html
http://gnuplot-surprising.blogspot.de/2011/09/gnuplot-background-image.html
http://www.techrepublic.com/blog/linux-and-open-source/how-to-use-clip-art-in-your-gnuplot-charts/
http://www.gnuplot.info/docs_4.2/gnuplot.html#x1-25400043.59.8.11
=================================================
set t pdfcairo enh
set output "test.pdf"
set multiplot layout 3,3
unset tics
a=15
flag(x) = x>1e-6? 1:0
m(x) = flag(x)*(exp(x-1.)+1.)/2.
g(x) = 1./(1.+exp(-a*x))
r(x) = 1.-g(x)
set border 0
set size ratio 1
set label "D=20" at screen 0.02, 0.8 font ",10"
set label "D=10" at screen 0.02, 0.5 font ",10"
set label "D=1" at screen 0.02, 0.2 font ",10"
set label "D_c=0.1" at screen 0.12, 0.015 font ",10"
set label "D_c=1" at screen 0.48, 0.015 font ",10"
set label "D_c=10" at screen 0.8, 0.015 font ",10"
plot 'temp/test_w1.000000_D2.000000_r2.200000_L283_t1000.050000.d' u 1:2:(256*m($3+$4)*r($3-$4)):(256*m($3+$4)*g($3-$4)):(0) w rgbimage t ""
plot 'data/w1.000000_D20.000000_r2.200000_L283_t1000.000000.d' u 1:2:(256*m($3+$4)*r($3-$4)):(256*m($3+$4)*g($3-$4)):(0) w rgbimage t ""
plot ''
plot 'temp/test_w1.000000_D1.000000_r2.200000_L283_t1000.050000.d' u 1:2:(256*m($3+$4)*r($3-$4)):(256*m($3+$4)*g($3-$4)):(0) w rgbimage t ""
plot 'data/w1.000000_D10.000000_r2.200000_L283_t1000.000000.d' u 1:2:(256*m($3+$4)*r($3-$4)):(256*m($3+$4)*g($3-$4)):(0) w rgbimage t ""
plot ''
plot 'temp/test_w1.000000_D0.100000_r2.200000_L283_t1000.050000.d' u 1:2:(256*m($3+$4)*r($3-$4)):(256*m($3+$4)*g($3-$4)):(0) w rgbimage t ""
plot 'data/w1.000000_D1.000000_r2.200000_L283_t1000.000000.d' u 1:2:(256*m($3+$4)*r($3-$4)):(256*m($3+$4)*g($3-$4)):(0) w rgbimage t ""
plot ''
'Tips (Utility, Computer Language, and etc.)' 카테고리의 다른 글
[Mac os] Mac에서 한글 폰트 바꾸기 (0) | 2016.11.15 |
---|---|
[Mac os] Mac에서 폴더와 파일등을 다른 색으로 표현하기 (0) | 2016.11.15 |
[n sphere] spherical coordinates (0) | 2016.10.27 |
[Crank-Nicolson method/Tridiagonal matrix algorithm] (0) | 2016.10.13 |
[c++] Max Min values of any variable type (0) | 2016.10.06 |