Plotting two matrices with similar dimensions having one superimposed on the other while keeping the scale of one only

1 次查看(过去 30 天)
Hi,
I have a matrix that represents the thickness of a tissue derived from a raster scan. I have another matrix that represent the sensitivity measured at discreet points on that tissue. I wanted to put one on top of the other where the contour map represent the change in thickness while the discreet points represent the sensitivity. using: contour(first matrix) hold on contour (2nd matrix) the two matrices were superimposed BUT the color scale of the 1st one has been changed.
I will be grateful if you could tell me how can I fix the color coded data in the first matrix?
Thank you.
Rola

回答(1 个)

Daniel Armyr
Daniel Armyr 2011-2-7
There is a solution on file exchange that does exactly this.
http://www.mathworks.com/matlabcentral/fileexchange/7943-freezecolors-unfreezecolors
Sincerely Daniel Armyr

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by