gnuplot中的2D计数

gnuplot中的2D计数,gnuplot,Gnuplot,如何在gnuplot中制作countour? 我想描绘: 5.300000e+04 1.300000e+02 5.436518e+06 5.300000e+04 1.325000e+02 5.126855e+06 5.300000e+04 1.350000e+02 4.803566e+06 5.300000e+04 1.375000e+02 4.457970e+06 5.300000e+04 1.400000e+02 4.103957e+06 5.300000e+04 1.425000e+02

如何在gnuplot中制作countour? 我想描绘:

5.300000e+04 1.300000e+02 5.436518e+06
5.300000e+04 1.325000e+02 5.126855e+06
5.300000e+04 1.350000e+02 4.803566e+06
5.300000e+04 1.375000e+02 4.457970e+06
5.300000e+04 1.400000e+02 4.103957e+06
5.300000e+04 1.425000e+02 3.734172e+06
5.300000e+04 1.450000e+02 3.352012e+06
.....
.....
我试过了

cd 'G:\'
set view map
set dgrid3d
set ytics font "Times New Roman,12"
set xtics font "Times New Roman,12"
unset key
set palette rgbformulae 30,31,32
set decimalsign ','
set format y "%5.1f"
set format x "%5.1f"
splot "mapa.txt" using 1:2:3 with pm3d
结果


如何编辑右侧以完整地查看数字,如何调用比例来更改字体

您可以使用以下方法调整右边距的宽度:

set rmargin at screen XXX
其中XXX是从0到1的数字。上页边距(tmargin)、下页边距(bmargin)和左页边距(lmargin)完全相同

在gnuplot中,色标称为colorbox

这或多或少符合您的要求:

set view map
set dgrid3d
set ytics font "Times New Roman,12"
set xtics font "Times New Roman,12"
unset key

#Adjust the width of left and right margins so that the numbers fit
set lmargin at screen 0.1
set rmargin at screen 0.85

set palette rgbformulae 30,31,32
set decimalsign ','
set format y "%5.1f"
set format x "%5.1f"

# Change font of color scale
set cbtics font "Times New Roman,12"

splot "mapa.txt" using 1:2:3 with pm3d