Commit 1f0ab2e2 authored by Jakub Klemsa's avatar Jakub Klemsa
Browse files

Added new (BRot time) : (BK size) ratios, fixed affected plot in perturb, 80 2 3.

parent b24a46ef
......@@ -19,11 +19,30 @@ BR_RATIO_1 = 0.99/1e6 # good
BR_RATIO_2 = 0.65/1e6 # good
BR_RATIO_3 = 0.54/1e6 # good
BR_RATIO_4 = 0.49/1e6 # good
BR_RATIO_5 = 0.47/1e6 # ??
BR_RATIO_DEF = 0.45/1e6 # ??
BR_RATIO_5 = 0.46/1e6 # good
BR_RATIO_6 = 0.43/1e6 # !!
BR_RATIO_7 = 0.41/1e6 # good
BR_RATIO_8 = 0.40/1e6 # good
BR_RATIO_9_13 = 0.38/1e6 # !!
BR_RATIO_14 = 0.365/1e6 # good
BR_RATIO_15 = 0.362/1e6 # good
BR_RATIO_DEF = 0.36/1e6 # good for 16
bs_ratio(l) = $4==1 ? BR_RATIO_1 : \
($4==2 ? BR_RATIO_2 : \
($4==3 ? BR_RATIO_3 : \
($4==4 ? BR_RATIO_4 : \
($4==5 ? BR_RATIO_5 : \
($4==6 ? BR_RATIO_6 : \
($4==7 ? BR_RATIO_7 : \
($4==8 ? BR_RATIO_8 : \
($4<14 ? BR_RATIO_9_13 : \
($4==14? BR_RATIO_14 : \
($4==15? BR_RATIO_15 : \
BR_RATIO_DEF))))))))))
RATIO_WID = 0.04
MAX_L = 10
MAX_L = 16
set term pngcairo dashed size WID,900
set out OUT
......@@ -49,7 +68,7 @@ set bmargin at screen 0.95
# x(row):y(t_med):err(t_med-t_min):width(l):lc:xtic
plot RES u 0:1:($1-$2):($4/MAX_L):($3==512?3:($3==1024?2:($3==2048?5:4))):xtic("N = ".stringcolumn(3).", l = ".stringcolumn(4)."\nn = ".stringcolumn(12).", γ = ".stringcolumn(13).",\nt = ".stringcolumn(14).", λ ≈ ".stringcolumn(11)."\n(".stringcolumn(5).",".stringcolumn(6).")\n(".stringcolumn(7).",".stringcolumn(8).",".stringcolumn(9).",".stringcolumn(10).")") w boxerrorbars lc variable, \
'' u ($0):($18):($4/MAX_L/2):(0) w xerr pointtype 0 lc variable, \
'' u ($0+$4/MAX_L/2+RATIO_WID/2):($15*($4==1?BR_RATIO_1:($4==2?BR_RATIO_2:($4==3?BR_RATIO_3:($4==4?BR_RATIO_4:($4==5?BR_RATIO_5:BR_RATIO_DEF)))))+$17*KS_RATIO):(RATIO_WID):(6) w boxes lc variable, \
'' u ($0+$4/MAX_L/2+RATIO_WID/2):($15*bs_ratio($4)+$17*KS_RATIO):(RATIO_WID):(6) w boxes lc variable, \
'' u ($0+$4/MAX_L/2+RATIO_WID/2):($17*KS_RATIO):(RATIO_WID):(4) w boxes lc variable, \
'' u ($0-.25):( $5* 8):(.08):(1) w boxes lc variable, \
'' u ($0-.15):( $6* 8):(.08):(1) w boxes lc variable, \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment