[Top][All Lists]

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

Re: Coloring grid spaces in a 2D by index

From: Brett Green
Subject: Re: Coloring grid spaces in a 2D by index
Date: Tue, 2 Jul 2019 17:37:48 -0400

Thank you!

I mentioned in my first question that I had trouble with pcolor, but maybe I can get it to work the way I need if I write a custom colormap with 6 entries. I haven't played with colormaps much, so I'm not sure if it'll work, but I suppose it's worth a shot.

imshow would be good if I could control the axes. I definitely need to have a set of coordinates to go along with the plot, but I didn't see anything about that for imshow in the documentation. Since it's meant for image processing, I didn't really expect anything, though.

- Brett Green

On Tue, Jul 2, 2019 at 3:20 PM Carlo De Falco <address@hidden> wrote:

> 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,


reply via email to

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