|
From: Roger P. M. <ro...@gm...> - 2011-02-04 12:10:32
|
Hello, I'm having some problems plotting a matrix using pm3d, I have a simple file with the following lines 0 1 1 0 But when I plot it I only get an image that ranges from 0 to 1 in x and y axis, I've included a sample of the output. I would like to get an output that ranges from 0 to 2 in both axes and with 2 black and two yellow/white blocks (representing the input matrix). The code used to generate the image is the following: set terminal svg set output "coeffs.svg" set autoscale set title "Non null coefficients in DCT matrix" set pm3d map set size square set palette rgbformulae 30,31,32 splot "./data.dat" matrix title "" Thanks, Roger. |