Show only XGrid on Heatmap plot?
Mostra commenti meno recenti
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
Risposte (2)
KSSV
il 17 Nov 2018
[X,Y,Z] = peaks(100) ;
pcolor(X,Y,Z)
shading interp
hold on
plot(X',Y','k')
yari lazzaro
il 17 Nov 2018
Modificato: yari lazzaro
il 17 Nov 2018
0 voti
Categorie
Scopri di più su Data Distribution Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!