감동, 마음이 움직이는 것

[gnuplot] rgbimage 본문

Tips (Utility, Computer Language, and etc.)

[gnuplot] rgbimage

Struggler J. 2016. 11. 11. 07:05

(참고)

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 ''