Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用简单的方案从我的数据中绘制 2D 热图,如下所示:
set pm3d map set pm3d interpolation 5,5 splot "file"
现在我需要在这个数据上标记几个点,可能是白色的。我试着做:
splot "file"; plot "points"
它不起作用并写道:“不能将 pm3d 用于 2d 绘图”。
文件长什么样?你可以做:
splot 'file' with pm3d, 'points' with points linecolor rgb "white"
根据'points'外观,您可能需要添加使用规范:
'points'
splot 'file' with pm3d, 'points' using 1:2:(0.0) with points linecolor rgb "white"