- /
-
Count the age
on 18 Oct 2021
- 47
- 65
- 1
- 0
- 193
X=10+2.*randn(3000);
Y=8+3.*randn(3000);
cc=histogram2(X,Y);
contourf(cc.Values)
shading interp
axis square off
axis([40 120 55 160])
N=20;
l=@linspace;
r=l(.2,1,N)';
g=l(.1,.8,N)';
b=l(0,.5,N)';
colormap([r g b]);