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.
如何在 Gnuplot 中绘制(3D 图)具有这种数据结构的矩阵。我找不到将第一行和第一列用作 ax 和 y 刻度的方法(或忽略它们)
,5,6,7,8 1,-6.20,-6.35,-6.59,-6.02 2,-6.39,-6.52,-6.31,-6.00 3,-6.36,-6.48,-6.15,-5.90 4,-5.79,-5.91,-5.87,-5.46
使用的参数是否splot 'data.csv' matrix正确?
splot 'data.csv' matrix
您可以使用格式规范给出;这里我们需要告诉分隔符','。以下对我有用:
splot 'data.csv' using 1:2:3 '%lf,%lf,%lf,%lf' with linespoints pt 6 ps 2 lw 3
除了第一行被忽略,这可能是对的?