Show only XGrid on Heatmap plot?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I'm using a heatmap plot to show zero values in a matrix. I am using h.GridVisible = 'off' to hide the grid but actually I would like to see the horizontal grid lines but not the vertical ones. Is there a way to achieve that?
Thanks
0 comentarios
Respuestas (2)
KSSV
el 17 de Nov. de 2018
[X,Y,Z] = peaks(100) ;
pcolor(X,Y,Z)
shading interp
hold on
plot(X',Y','k')
0 comentarios
Ver también
Categorías
Más información sobre Data Distribution 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!