3
我策劃這個data的熱圖使用下面的代碼gnuplot的 - 設置彩條最大值與最小值
reset
set terminal pngcairo size 800,800
set output 'Temp.png'
#set terminal tikz
#set output 'Temp.tex'
set lmargin at screen 0.05
set rmargin at screen 0.85
set bmargin at screen 0.1
set tmargin at screen 0.9
set palette defined (0 '#000090',\
1 '#000fff',\
2 '#0090ff',\
3 '#0fffee',\
4 '#90ff70',\
5 '#ffee00',\
6 '#ff7000',\
7 '#ee0000',\
8 '#7f0000')
set pm3d map interpolate 20,20
unset key
set multiplot
# plot the heatmap
splot '2m_p2_f36.txt' using 1:2:3
unset multiplot
unset output
而且我得到這樣 我想手動設置顏色表最大值和最小值的結果。這是因爲我必須繪製溫度可能高達1000攝氏度的其他地塊。所以我不希望紅色指示一個地塊中的300 C和另一個地塊中的1000 C.我該如何做這個Gnuplot?