set palette gray
set palette maxcolors 2
set pm3d map
set xrange [-.5:4.5]
set yrange [-.5:4.5]
splot '-' matrix with image
1 0 1 0 1
0 1 1 1 0
1 0 1 0 1
0 1 0 1 0
1 0 0 0 1
e
Himbeergeist wrote:
>
> Hello,
>
> I want to plot a boolean (contains only ones and zeros) N-by-N-matrix
> with "set pm3d map splot" followed by the name of the file. That works
> well, but:
> How can I change the colours to be not continuously? The ones should be
> black and the zeros white.
>
> Thanks for helping
>
--
View this message in context: http://www.nabble.com/changing-colours-tp23139329p23150652.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|