From: Sergey on
try
h=imagesc(X,Y,C)
set(h,'alphadata',~isnan(C))

Yves Gaudemer <gaudemer(a)ipgp.jussieu.fr> wrote in message <gaudemer-E4DC49.14303601022007(a)vishnu.jussieu.fr>...
> Hi,
>
> Is there a way to display values of a matrix (size = [m,n]) with exactly
> m rows and n columns (as with imagesc) AND Nan as empty patches (as with
> pcolor) ?
>
> Thanks in advance, Yves