How can I plot a map area filled with colors and colors representing the values which are negative and positive. Colormap can only give colors to values in the range [0,1]. I want to increase the range.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Let
xbe the matrix with the values you want to visualize. Then you can useimagescfor a visualization:Note that the colorbar is automatically adjusted to the range of date in
x.