I am trying to figure out how to generate a colored chart on a matlab, like the one you can find in here on page 9. (You will have to look through it to find what I am referring to – Stackoverflow doesn’t allow me to post pictures in the postings just yet.)
A few questions:
-
I do have the table, but my table is a set of discreet points, not a continuous spectrum. So… can I do it in the first place?
-
If it IS possible, how would I do it?
(By the way, that table is from combat simulation for Risk – I am doing the combat simulation for Risk II, just for fun.)
The type of image you are looking for, as can be seen on Page 9, is a
imagescplot. Here’s a simple example, using a double sin function. Done without vectorization for simplicity.