gnuplot矩阵热图图翻转
当阴谋gnuplot矩阵热图图翻转,plot,gnuplot,gnuplot-iostream,Plot,Gnuplot,Gnuplot Iostream,当阴谋 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 我明白了 你看,它是旋转/翻转的。如何将其与数据对齐 我发现了,但解决方案不适用于这里。您是在问如何反转y轴的方向吗 set yrange [*:*] reverse plot 'matrix.txt' matrix with im
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
我明白了
你看,它是旋转/翻转的。如何将其与数据对齐
我发现了,但解决方案不适用于这里。您是在问如何反转y轴的方向吗
set yrange [*:*] reverse
plot 'matrix.txt' matrix with image
或者,如果要反转矩阵的y坐标,但保持其他打印元素的方向不变
plot 'matrix.txt' using ($1):(-$2):($3) matrix with image
set yrange[]reverse