Am 12.02.2013 17:45, schrieb julien.siebert:
> Dear all,
>
> I am having trouble while plotting some heatmaps with the following
> commands:
>
> "set view map
> splot 'myfile' matrix with image"
>
> Where myfile is an ASCII file containing N lines and each lines containing K
> floating point values.
>
> It worked really well until I have the following error:
> "warning: Number of pixels cannot be factored into integers matching grid. N
> = 500500 K = 2000"
>
> I understand the error, Gnuplot told me that it cannot read "myfile" as a
> 500500*2000 grid.
> The problem is that "myfile" is actually 500500*500 grid. (really I check).
>
> It seems to me that gnuplot is having trouble while determining K.
> I don't know if it comes from the fact that I am using floating point values
> (As I said it worked well before)?
> I don't know if I can set these two values N and K by myself ?
>
> Any idea?
> Thanks,
> Julien
>
Hi, Julien,
i also use heatmaps very often (but more 800x500)
i tend to ingnore the errors they are most times
caused by a missing value.
re,
wh
> --
> gnuplot 4.6 patchlevel 0 (Gentoo revision r0)
>
> Linux spencer 3.4.9-gentoo-r0-c2-v1 #3 SMP Mon Sep 10 15:29:08 CEST 2012
> x86_64 Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz GenuineIntel GNU/Linux
>
>
>
|