% Input inside a figure; requires tikz, amsmath, amssymb and the PB palette. % The colours classify INTEGER points, not continuous rectangular strips. \begin{tikzpicture}[x=1cm,y=1cm,font=\small, line cap=round,line join=round,>=latex] \tikzset{ zonecard/.style={rounded corners=2pt,line width=.45pt}, sample/.style={circle,draw,line width=.75pt,inner sep=3.4pt}, samplelabel/.style={fill=white,inner sep=1.2pt,font=\small} } % Only the lattice points carry zone colours. \foreach \i in {1,...,5}{ \draw[PBgray!15,line width=.35pt] (\i,-.08)--(\i,5.08); \draw[PBgray!15,line width=.35pt] (-.08,\i)--(5.08,\i); } \draw[->,PBgray!90,line width=.65pt] (-.18,0)--(5.72,0) node[right] {$m_1$}; \draw[->,PBgray!90,line width=.65pt] (0,-.18)--(0,5.72) node[above] {$m_2$}; \node[below left,inner sep=3pt] at (0,0) {$0$}; \foreach \i in {1,...,5}{ \draw[PBgray!70,line width=.45pt] (\i,-.055)--(\i,.055); \draw[PBgray!70,line width=.45pt] (-.055,\i)--(.055,\i); \node[below,inner sep=3pt,font=\scriptsize] at (\i,0) {$\i$}; \node[left,inner sep=3pt,font=\scriptsize] at (0,\i) {$\i$}; } % z=(0,0), (1,0), (2,0). \fill[PBgray] (0,0) circle[radius=2.25pt]; \fill[PBblue] (1,0) circle[radius=2.25pt]; \foreach \i in {2,...,5} \fill[PBteal] (\i,0) circle[radius=2.25pt]; % z=(0,1), (1,1), (2,1). \fill[PBviolet] (0,1) circle[radius=2.25pt]; \fill[PBorange] (1,1) circle[radius=2.25pt]; \foreach \i in {2,...,5} \fill[PBred] (\i,1) circle[radius=2.25pt]; % z=(0,2), (1,2), (2,2). \foreach \j in {2,...,5}{ \fill[PBteal!65!PBblue] (0,\j) circle[radius=2.25pt]; \fill[PBviolet!60!PBred] (1,\j) circle[radius=2.25pt]; \foreach \i in {2,...,5} \fill[PBblue!55!PBteal] (\i,\j) circle[radius=2.25pt]; } % Dots indicate only further integer points in the same rows/columns. \node[PBteal,font=\scriptsize] at (5.36,0) {$\cdots$}; \node[PBred,font=\scriptsize] at (5.36,1) {$\cdots$}; \foreach \j in {2,...,5} \node[PBblue!55!PBteal,font=\scriptsize] at (5.36,\j) {$\cdots$}; \node[PBteal!65!PBblue,font=\scriptsize] at (0,5.36) {$\vdots$}; \node[PBviolet!60!PBred,font=\scriptsize] at (1,5.36) {$\vdots$}; \foreach \i in {2,...,5} \node[PBblue!55!PBteal,font=\scriptsize] at (\i,5.36) {$\vdots$}; \node[PBblue!55!PBteal,font=\scriptsize] at (5.36,5.36) {$\ddots$}; % Two same-zone pairs: an interior pair and a boundary-zone pair. \node[sample,PBblue!55!PBteal] at (2,2) {}; \node[sample,PBblue!55!PBteal] at (3,2) {}; \draw[->,PBblue!55!PBteal,line width=.8pt] (2.13,2.15) to[bend left=22] (2.87,2.15); \node[samplelabel,text=PBblue!55!PBteal,below] at (2,1.82) {$\lambda$}; \node[samplelabel,text=PBblue!55!PBteal,below] at (3,1.82) {$\mu$}; \node[sample,PBviolet!60!PBred] at (1,2) {}; \node[sample,PBviolet!60!PBred] at (1,3) {}; \draw[->,PBviolet!60!PBred,line width=.8pt] (1.15,2.13) to[bend right=22] (1.15,2.87); \node[samplelabel,text=PBviolet!60!PBred,left] at (.81,2) {$\lambda'$}; \node[samplelabel,text=PBviolet!60!PBred,left] at (.81,3) {$\mu'$}; \node[anchor=north,font=\small,align=center] at (2.65,-.58) {$\displaystyle z:\mathbb Z_{\ge0}^{2}\longrightarrow\{0,1,2\}^{2}$\\[4pt] $z(m)=(\min(m_1,2),\min(m_2,2))$}; % A compact discrete legend; the cards are keys, not regions in the plane. \node at (9.43,5.64) {$z=(z_1,z_2)$}; \node[font=\scriptsize] at (7.925,5.05) {$m_1=0$}; \node[font=\scriptsize] at (9.375,5.05) {$m_1=1$}; \node[font=\scriptsize] at (10.825,5.05) {$m_1\in\mathbb Z_{\ge2}$}; \node[anchor=east,font=\scriptsize] at (7.04,4.43) {$m_2\in\mathbb Z_{\ge2}$}; \node[anchor=east,font=\scriptsize] at (7.04,3.58) {$m_2=1$}; \node[anchor=east,font=\scriptsize] at (7.04,2.73) {$m_2=0$}; \foreach \xx/\yy/\cc/\zz in { 7.925/2.73/PBgray/{(0,0)}, 9.375/2.73/PBblue/{(1,0)}, 10.825/2.73/PBteal/{(2,0)}, 7.925/3.58/PBviolet/{(0,1)}, 9.375/3.58/PBorange/{(1,1)}, 10.825/3.58/PBred/{(2,1)}, 7.925/4.43/{PBteal!65!PBblue}/{(0,2)}, 9.375/4.43/{PBviolet!60!PBred}/{(1,2)}, 10.825/4.43/{PBblue!55!PBteal}/{(2,2)}}{ \path[zonecard,draw=\cc!65,fill=\cc!7] (\xx-.67,\yy-.34) rectangle (\xx+.67,\yy+.34); \fill[\cc] (\xx-.39,\yy) circle[radius=2pt]; \node[text=\cc,anchor=west,inner sep=0pt] at (\xx-.22,\yy) {$\zz$}; } \node[anchor=north west,text=PBblue!55!PBteal,align=left] at (6.83,1.94) {$\lambda=(2,2),\quad\mu=(3,2)$\\[2pt] $z(\lambda)=z(\mu)=(2,2)$\\[2pt] $H=\{1,2\},\quad J=\varnothing$}; \node[anchor=north west,text=PBviolet!60!PBred,align=left] at (6.83,-.12) {$\lambda'=(1,2),\quad\mu'=(1,3)$\\[2pt] $z(\lambda')=z(\mu')=(1,2)$\\[2pt] $H=\{2\},\quad J=\{1\}$}; \end{tikzpicture}