Change color axes of interpolation
Mostrar comentarios más antiguos
Hello,
I am using griddata to interpolate a surface based on the data points of two sets described here (https://www.mathworks.com/help/matlab/ref/griddata.html)
The interpolation works well, but I was wondering if it was possible to change the color used so that the two interpolated surfaces are the same color scale.
Right now the interpolation of Set A has a high of 50 and a low of 10 while the interpolation of Set B has a high of 40 and a low of 25. Both uses red as the high point and gradually goes to blue as the low point.
What I would like to do is use the same axes color scale so that Set A would still show the high/red as 50 and low/blue as 10 while Set B would show its high of 40 as a orange color while its low of 25 as a greenish color.
Is that possible?
Thanks
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!