Borrar filtros
Borrar filtros

Surface plot based on cell center values

16 visualizaciones (últimos 30 días)
Josh
Josh el 7 de Abr. de 2015
Comentada: Mohammad Abouali el 7 de Abr. de 2015
I have an array of data corresponding to the values at the center of the cells in the grid. Is there a way to plot the data on a contour or surface plot which is based on the values at the cell center, rather than at the intersection of grid lines? Thanks

Respuesta aceptada

Mohammad Abouali
Mohammad Abouali el 7 de Abr. de 2015
Editada: Mohammad Abouali el 7 de Abr. de 2015
Data=rand(10,10);
imagesc(s);
check imagesc() for detail description of the function.
  2 comentarios
Josh
Josh el 7 de Abr. de 2015
Thanks. That is exactly what I wanted.
Mohammad Abouali
Mohammad Abouali el 7 de Abr. de 2015
you are welcome

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by