I want to plot countries including their borders in Europe and then set the color of each country according to a number. Currently I am able to generate a map consisting of about 50 country shape files. Now, I want to change the Facecolor of each shape file according to the value of an eigenvector. My problem is that there is only one 'number' per country, so I cannot generate a color code ?
My idea is to have each number correspond to a color (like the colormap jet). Large values would correspond to a darker red, small values to a darker blue etc… How can I do this ?
In the end, I will generate a couple of maps, so I do not want the colors to vary for each map. A map colored completely green should have smaller eigenvector values than a map colored completely red. I am aware of the command 'caxis', but not sure how I can set a colormap to specify the colors used in my maps.
Best Answer