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

1 Ansicht (letzte 30 Tage)
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

Antworten (1)

Daniel Armyr
Daniel Armyr am 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

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by