|
From: Philipp K. J. <ja...@ie...> - 2014-09-23 22:27:41
|
On Tue, 23 Sep 2014 15:13:20 -0700 Ethan Merritt <eam...@gm...> wrote: What I infer from that demo is that one needs to choose one of two (text) file formats: - matrix format (w/o explicit coordinates) - the "old style" splot format, with scan lines separated by blank lines. I had actually hoped that the image format would allow me to randomly address individual "pixels" by their coordinates. Is that not so? Best, Ph. > On Tue, Sep 23, 2014 at 2:45 PM, Philipp K. Janert <ja...@ie...> > wrote: > > > > When trying to plot the following file: > > > > 1 1 1 > > 1 2 2 > > 2 1 3 > > 2 2 4 > > 3 3 1 > > 3 1 0 > > 3 2 0 > > 1 3 0 > > 2 3 0 > > > > using > > > > plot "file" u 1:2:3 w imag > > > > I received the following warning message: > > warning: Number of pixels cannot be factored into integers > > matching grid. N = 9 K = 2 > > > > The plot showed just the borders and the > > colorbox, but none of my data. > > > > What am I doing wrong? > > Please see > http://gnuplot.sourceforge.net/demo/heatmaps.html |