我正在尝试绘制一组具有特定轴值的网格数据,其中 y 轴不均匀(例如 ... 150 180 195)。信不信由你,这是混凝土天花板的变形,我想用最少的石膏将其弄平...!网格值如下。 带有 x 和 y 轴数据的网格数据
我尝试了下面的宏,但结果却不尽如人意:
答案1
您需要关键字nonuniform
:
gnuplot> help matrix
(...)
The second interpretation assumes a non-uniform grid with explicit x and y
coordinates. The first row of input data contains the y coordinates;
the first column of input data contains the x coordinates. For binary input
data, the first element of the first row must contain the number of columns.
This is the default for `binary matrix` input, but requires an additional
keyword `nonuniform` for text input data.
See `matrix nonuniform` for examples.