\psset{unit=0.45cm}
%
\pspicture(-2,-1.5)(8,8)
%
%
% \showgrid
% shape {7, 4, 4, 3, 1, 1, 1}/{3, 2, 2, 1}:
% The interior of the Ferrers diagram
\psset{linewidth=0.01,linecolor=lightgray,fillstyle=solid,fillcolor=lightgray}
\psline(-1,0)(0,0)(0,3)(2,3)(2,4)(3,4)(3,6)(6,6)(6,7)(2,7)(2,6)(1,6)(1,4)(0,4)(0,3)(-1,3)
% The axes:
\psset{linewidth=0.1,linecolor=gray,fillstyle=none}
\psline{->}(-1,7)(7,7)
\psline{->}(-1,7)(-1,-1)
% The axes labels:
\setcounter{dummycount}{0}
\multido{\nx=-1+1}{8}{
	\rput(\nx,7.5){$\scriptscriptstyle\arabic{dummycount}$}
	\stepcounter{dummycount}
	\psline(\nx,0)(\nx,7)
}
\multido{\ny=0+1}{8}{
	% \rput(-1,\ny){$\scriptscriptstyle\arabic{dummycount}$}
	% \stepcounter{dummycount}
	\psline(-1,\ny)(6,\ny)
}
% The perimeter of the Ferrers diagram
\psset{linewidth=0.1,linecolor=black,fillstyle=none}
\psline(-1,0)(0,0)(0,3)(2,3)(2,4)(3,4)(3,6)(6,6)(6,7)
\psline(-1,3)(0,3)(0,4)(1,4)(1,6)(2,6)(2,7)
% Length of the diagram rows:
\rput(7.,6.5){${\scriptscriptstyle \lambda_1=7}$}
\rput(4.,5.5){${\scriptscriptstyle \lambda_2=4}$}
\rput(4.,4.5){${\scriptscriptstyle \lambda_3=4}$}
\rput(3.,3.5){${\scriptscriptstyle \lambda_4=3}$}
\rput(1.,2.5){${\scriptscriptstyle \lambda_5=1}$}
\rput(1.,1.5){${\scriptscriptstyle \lambda_6=1}$}
\rput(1.,0.5){${\scriptscriptstyle \lambda_7=1}$}
%
\rput(1.,6.5){${\scriptscriptstyle \mu_1=3}$}
\rput(0.,5.5){${\scriptscriptstyle \mu_2=2}$}
\rput(0.,4.5){${\scriptscriptstyle \mu_3=2}$}
\rput(-1.,3.5){${\scriptscriptstyle \mu_4=1}$}
\endpspicture
