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

1 visualización (últimos 30 días)
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

Respuestas (1)

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

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by