MATLAB Answers

Mapping, colormap, eigenvector

2 ビュー (過去 30 日間)
Ali Nouri
Ali Nouri 2019 年 12 月 25 日
コメント済み: Mark Sherstan 2019 年 12 月 27 日
Can anyone help me!!!
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, how to generate or calculate a colormap, so each number eigenvector 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 ?


Ali Nouri
Ali Nouri 2019 年 12 月 27 日
yes, butt how can I calculate a new colormap??

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by