我试图在一张图上绘制多个XRD图形,在它们之间有一个垂直偏移。set xtics nomirrorset terminal pdf color font 'times new roman,17'offset = 400
plot 'E58.xy' using 1:($2 + offset*5) with lines ls 1 lc 1 title "E58 XRD"
16 17 187 8 9 10 11 12第一行中的计算-一次只考虑两个矩阵中的四个元素(0表示填充):
(1-8)+(2-9)+(3-10)+(4-(2-9)+(3-10)+(4-11)+(5-12): This replaces 2 in initial matrix.(3-10)+(4-11)+(5-12)+(6-0): This replaces 3 in initial matrix.(4-11)+(5-12)+(6-0)+(0-0): This replac