How to produce triangular heatmap without the baorder with imagesc?
Mostra commenti meno recenti
I am trying to produce a triangular correlation plot. I can do that by putting NaNs for the upper or lower part, but then baorder showing the boundaries is also being ploted. is there way to remove it?

and produce something like this:

I attach my code and the fiugre example:
for i=1:25
for j=1:25
if i<j
aaa(i,j)=0;
else
aaa(i,j)=rand(1);
end
end
end
imagesc(aaa)
colormap(flipud(gray))
Risposta accettata
Più risposte (0)
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!

