投影
- Pm3d lighting -
Q:光に照らされた滑らかなレンダリング像は描けますか?
A:開発版(2015/12/08現在)のVer.5.1からpm3dに
lighting
の機能が盛り込まれました.下記URLを尋ねてください.
- Sulla不完全ガンマ関数 x^{-a}P(a,x) を描くスクリプト
M. Abramowitz and I. Stegun, eds: Handbook of Mathematical Functions
with Formulas, Graphs, and Mathematical Tables, (Dover, 1972) pp.261
-262.
set pm3d depth lighting primary 0.6
set palette defined (0 "#222266", 0.01 "#6666FF", 0.99 "#6666FF", 1 "#CCCCFF")
LM = 18
ig(a,x,N) = (sum [n = 0:N] (-x)**n/(a+n)/gamma(n+1))/gamma(a)
g(a,x,N) = (s = ig(a,x,N)) > LM ? LM : s < -LM ? -LM: s
unset key
unset colorbox
unset tics
unset border
set samp 128
set isosamp 128
set origin 0,-0.1
set view 60, 240, 1.4, 0.8
set term pngcairo background "#114400" size 360,360
set out "igamma_a.png"
splot [-4:4][-5:5][-LM:LM] g(y,x,20) w pm3d
!display "igamma_a.png"
- 得られた結果