gnuplot 矩阵热图图翻转
gnuplot matrix heat map plot flipped
什么时候剧情
set terminal png
set output 'plot.png'
plot 'matrix.txt' matrix with image
9 3 3 4
3 1 1 7
8 9 1 8
7 3 9 5
我明白了
你看到了吗,它旋转/翻转了。如何与数据对齐?
我找到了 Rotating a plot in gnuplot 但解决方案不适用于此处。
你问的是如何反转 y 轴的方向?
set yrange [*:*] reverse
plot 'matrix.txt' matrix with image
或者如果你想反转矩阵的 y 坐标但保持其他绘图元素的方向不变
plot 'matrix.txt' using ():(-):() matrix with image
什么时候剧情
set terminal png
set output 'plot.png'
plot 'matrix.txt' matrix with image
9 3 3 4
3 1 1 7
8 9 1 8
7 3 9 5
我明白了
你看到了吗,它旋转/翻转了。如何与数据对齐?
我找到了 Rotating a plot in gnuplot 但解决方案不适用于此处。
你问的是如何反转 y 轴的方向?
set yrange [*:*] reverse
plot 'matrix.txt' matrix with image
或者如果你想反转矩阵的 y 坐标但保持其他绘图元素的方向不变
plot 'matrix.txt' using ():(-):() matrix with image