gnuplot: label x and y-axis of matrix (heatmap) with row and column names

前端 未结 2 779
不思量自难忘°
不思量自难忘° 2020-12-09 22:55

I\'m absolutely new to gnuplot and did not find a working solution after googling.

I have a data matrix looking something like this:

  A B C D E
A 0          


        
2条回答
  •  无人及你
    2020-12-09 23:17

    ok, this question is old, but there is a much easier way implemented in gnuplot already:

    plot 'result.csv' matrix rowheaders columnheaders with image
    

    got it from http://gnuplot.sourceforge.net/demo/heatmaps.html

提交回复
热议问题