• Remix
  • Share
  • New Entry

on 27 Oct 2021
  • 4
  • 64
  • 12
  • 0
  • 176
% https://upload.wikimedia.org/wikipedia/commons/e/e7/Hydrogen_Density_Plots.png
r=meshgrid(0:.1:25);
t=r'*2*pi/25;
P=(6-r).*r.*exp(-r/3).*cos(t);
x=r.*cos(t);
y=r.*sin(t);
contourf(y,x,abs(P),1e3,'edgec','n');
colormap hot;
caxis([0 2]);
axis equal off;
set(gcf,'color','k');