\psset{unit=0.45cm}
%
\pspicture(-2,-1.5)(23,8.5)
%
%\showgrid
% Skew shape {3, 2, 2, 1, 0, 0, 0}/{7, 4, 4, 3, 1, 1, 1}:
% The grid for the skew Ferrers diagram:
% The horizontal lines:
\psline[linewidth=0.05,linecolor=gray](2,7)(6,7)
\psline[linewidth=0.05,linecolor=gray](2,6)(6,6)
\psline[linewidth=0.05,linecolor=gray](1,5)(3,5)
\psline[linewidth=0.05,linecolor=gray](1,4)(3,4)
\psline[linewidth=0.05,linecolor=gray](0,3)(2,3)
\psline[linewidth=0.05,linecolor=gray](-1,2)(0,2)
\psline[linewidth=0.05,linecolor=gray](-1,1)(0,1)
\psline[linewidth=0.05,linecolor=gray](-1,0)(0,0)
% The vertical lines:
\psline[linewidth=0.05,linecolor=gray](-1,3)(-1,0)
\psline[linewidth=0.05,linecolor=gray](0,3)(0,0)
\psline[linewidth=0.05,linecolor=gray](1,4)(1,3)
\psline[linewidth=0.05,linecolor=gray](2,6)(2,3)
\psline[linewidth=0.05,linecolor=gray](3,7)(3,4)
\psline[linewidth=0.05,linecolor=gray](4,7)(4,6)
\psline[linewidth=0.05,linecolor=gray](5,7)(5,6)
\psline[linewidth=0.05,linecolor=gray](6,7)(6,6)
% The perimeter of the Ferrers diagram
\psline[linewidth=0.1,linecolor=black](6,7)(2,7)(2,6)(1,6)(1,4)(0,4)(0,3)(-1,3)(-1,0)(0,0)(0,3)(2,3)(2,4)(3,4)(3,6)(6,6)(6,7)
% Ray of labels:
\rput(-1.5,6.5){${\scriptscriptstyle 1}$}
\rput(-1.5,5.5){${\scriptscriptstyle 2}$}
\rput(-1.5,4.5){${\scriptscriptstyle 3}$}
\rput(-1.5,3.5){${\scriptscriptstyle 4}$}
\rput(-1.5,2.5){${\scriptscriptstyle 5}$}
\rput(-1.5,1.5){${\scriptscriptstyle 6}$}
\rput(-1.5,0.5){${\scriptscriptstyle 7}$}
% Ray of labels:
\rput(-0.5,7.5){${\scriptscriptstyle 1}$}
\rput(0.5,7.5){${\scriptscriptstyle 2}$}
\rput(1.5,7.5){${\scriptscriptstyle 3}$}
\rput(2.5,7.5){${\scriptscriptstyle 4}$}
\rput(3.5,7.5){${\scriptscriptstyle 5}$}
\rput(4.5,7.5){${\scriptscriptstyle 6}$}
\rput(5.5,7.5){${\scriptscriptstyle 7}$}
% Young diagram labels:
% Row 1:
\rput(2.5,6.5){${\mathbf 1}$}
\rput(3.5,6.5){${\mathbf 6}$}
\rput(4.5,6.5){${\mathbf 7}$}
\rput(5.5,6.5){${\mathbf 8}$}
% Row 2:
\rput(1.5,5.5){${\mathbf 3}$}
\rput(2.5,5.5){${\mathbf 3}$}
% Row 3:
\rput(1.5,4.5){${\mathbf 6}$}
\rput(2.5,4.5){${\mathbf 7}$}
% Row 4:
\rput(0.5,3.5){${\mathbf 5}$}
\rput(1.5,3.5){${\mathbf 7}$}
% Row 5:
\rput(-0.5,2.5){${\mathbf 6}$}
% Row 6:
\rput(-0.5,1.5){${\mathbf 7}$}
% Row 7:
\rput(-0.5,0.5){${\mathbf 8}$}
% Square grid:
% The horizontal lines:
\psline[linewidth=0.01,linecolor=gray](8,-1)(8,8)
\psline[linewidth=0.01,linecolor=gray](9,-1)(9,8)
\psline[linewidth=0.01,linecolor=gray](10,-1)(10,8)
\psline[linewidth=0.01,linecolor=gray](11,-1)(11,8)
\psline[linewidth=0.01,linecolor=gray](12,-1)(12,8)
\psline[linewidth=0.01,linecolor=gray](13,-1)(13,8)
\psline[linewidth=0.01,linecolor=gray](14,-1)(14,8)
\psline[linewidth=0.01,linecolor=gray](15,-1)(15,8)
\psline[linewidth=0.01,linecolor=gray](16,-1)(16,8)
\psline[linewidth=0.01,linecolor=gray](17,-1)(17,8)
\psline[linewidth=0.01,linecolor=gray](18,-1)(18,8)
\psline[linewidth=0.01,linecolor=gray](19,-1)(19,8)
\psline[linewidth=0.01,linecolor=gray](20,-1)(20,8)
\psline[linewidth=0.01,linecolor=gray](21,-1)(21,8)
\psline[linewidth=0.01,linecolor=gray](22,-1)(22,8)
\psline[linewidth=0.01,linecolor=gray](23,-1)(23,8)
% The vertical lines:
\psline[linewidth=0.01,linecolor=gray](8,-1)(23,-1)
\psline[linewidth=0.01,linecolor=gray](8,0)(23,0)
\psline[linewidth=0.01,linecolor=gray](8,1)(23,1)
\psline[linewidth=0.01,linecolor=gray](8,2)(23,2)
\psline[linewidth=0.01,linecolor=gray](8,3)(23,3)
\psline[linewidth=0.01,linecolor=gray](8,4)(23,4)
\psline[linewidth=0.01,linecolor=gray](8,5)(23,5)
\psline[linewidth=0.01,linecolor=gray](8,6)(23,6)
\psline[linewidth=0.01,linecolor=gray](8,7)(23,7)
\psline[linewidth=0.01,linecolor=gray](8,8)(23,8)
% Ray of labels:
\setcounter{dummycount}{-5}
\multido{\nx=9+1}{14}{
	\rput(\nx,-1.3){$\scriptscriptstyle\arabic{dummycount}$}
	\stepcounter{dummycount}
}
% Ray of labels:
\rput(7.7,0){${\scriptscriptstyle 1}$}
\rput(7.7,1){${\scriptscriptstyle 2}$}
\rput(7.7,2){${\scriptscriptstyle 3}$}
\rput(7.7,3){${\scriptscriptstyle 4}$}
\rput(7.7,4){${\scriptscriptstyle 5}$}
\rput(7.7,5){${\scriptscriptstyle 6}$}
\rput(7.7,6){${\scriptscriptstyle 7}$}
\rput(7.7,7){${\scriptscriptstyle 8}$}
% Lattice paths:
% Path 1:
\psline[linewidth=0.15,linecolor=gray](18,0)(19,0)(19,5)(20,5)(20,6)(21,6)(21,7)(22,7)
% Path 2:
\psline[linewidth=0.15,linecolor=gray](16,0)(16,2)(17,2)(18,2)(18,7)
% Path 3:
\psline[linewidth=0.15,linecolor=gray](15,0)(15,5)(16,5)(16,6)(17,6)(17,7)
% Path 4:
\psline[linewidth=0.15,linecolor=gray](13,0)(13,4)(14,4)(14,6)(15,6)(15,7)
% Path 5:
\psline[linewidth=0.15,linecolor=gray](11,0)(11,5)(12,5)(12,7)
% Path 6:
\psline[linewidth=0.15,linecolor=gray](10,0)(10,6)(11,6)(11,7)
% Path 7:
\psline[linewidth=0.15,linecolor=gray](9,0)(9,7)(10,7)
% Lattice path labels:
% Path 1:
\rput(18.5,0.35){${\scriptstyle 1}$}
\rput(19.5,5.35){${\scriptstyle 6}$}
\rput(20.5,6.35){${\scriptstyle 7}$}
\rput(21.5,7.35){${\scriptstyle 8}$}
% Path 2:
\rput(16.5,2.35){${\scriptstyle 3}$}
\rput(17.5,2.35){${\scriptstyle 3}$}
% Path 3:
\rput(15.5,5.35){${\scriptstyle 6}$}
\rput(16.5,6.35){${\scriptstyle 7}$}
% Path 4:
\rput(13.5,4.35){${\scriptstyle 5}$}
\rput(14.5,6.35){${\scriptstyle 7}$}
% Path 5:
\rput(11.5,5.35){${\scriptstyle 6}$}
% Path 6:
\rput(10.5,6.35){${\scriptstyle 7}$}
% Path 7:
\rput(9.5,7.35){${\scriptstyle 8}$}
% The starting points
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](18,0){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](16,0){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](15,0){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](13,0){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](11,0){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](10,0){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](9,0){0.3}
% The end points
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](22,7){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](18,7){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](17,7){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](15,7){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](12,7){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](11,7){0.3}
\pscircle[linewidth=0.1,linecolor=black,fillstyle=solid,fillcolor=white](10,7){0.3}
\endpspicture
