[SciPy-user] Stupid plot question

Marco gaedol at gmail.com
Thu Nov 20 12:02:46 EST 2008


Hi list!

I have a question about plotting and i haven't found an easy solution
on the 'net.

I have a 2d matrix with some values in it: basically they are just
ones or minus ones, and I want to plot them putting a red "square" (or
"ball" or "something") on screen (on a grid) if the value of that
matrix element is one and a blue "something" if it is minus one.

How can I do that?

Thanks,

marco


--

Quando sei una human pignata
e la pazzo jacket si è accorciata
e non ti puoi liberare
dai colpi di legno e di bastone
dai petardi sul groppone

Vinicio Capossela



More information about the SciPy-User mailing list