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

1 view (last 30 days)
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

Answers (1)

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

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!