help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coloring grid spaces in a 2D by index


From: Carlo De Falco
Subject: Re: Coloring grid spaces in a 2D by index
Date: Tue, 2 Jul 2019 19:20:00 +0000


> Il giorno 02 lug 2019, alle ore 19:48, BGreen <address@hidden> ha scritto:
> 
> I would like to have a grid in which each box is filled with a color
> corresponding to a value. What is the best way to do this?


you may want to try the commands pcolor[1], or imshow[2],
hope this helps,
c.

[1] https://octave.org/doc/interpreter/Two_002dDimensional-Plots.html#XREFpcolor
[2] https://octave.org/doc/interpreter/Displaying-Images.html#XREFimshow





reply via email to

[Prev in Thread] Current Thread [Next in Thread]