\begin{tikzpicture}
  \tikzset{transparentfill/.style={fill=white, fill opacity=0.7, text opacity=1.0}}
  \begin{axis}[
    axis lines=middle,
    axis line style={-Stealth, thick},
    xmin=0, xmax=5.25,
    ymin=0, ymax=5.25,
    xtick={0,1,2,3,4},
    ytick={0,1,2,3,4},
    grid=major,
    %xlabel={Along $\ve_{d_1}$},
    %ylabel={Along $\ve_{d_2}$},
    enlargelimits=false,
    tick style={black},
    tick align=outside,
    tick label style={font=\small},
    width=0.4\textwidth,
    height=0.4\textwidth,
    xlabel style={at={(axis description cs:0.5,-0.15)},anchor=north, font=\small},
    ylabel style={at={(axis description cs:-0.15,0.5)},anchor=south, rotate=90, font=\small},
    clip=false, %  no clipping if something is outside the axis
    ]

    % Loop to draw circles at (x, y) such that x + y = 4
    \foreach \x in {0,1,2,3,4} {
      \pgfmathsetmacro{\y}{4 - \x}
      \addplot[
      only marks,
      mark=*,
      mark size=2.5pt,
      tab-orange,
      ] coordinates {(\x,\y)};
    }

    \draw[tab-orange, ultra thick, dotted] (axis cs:-0.3, 4.3) to (axis cs:4.3, -0.3);

    % Draw arrow from origin to (x, y)
    % NOTE Could not figure out how to do this inside the loop, so
    % doing it manually
    %\draw[-Stealth, tab-orange, ultra thick] (axis cs:0,0) -- (axis cs:0,4);
    %\draw[-Stealth, tab-orange, ultra thick] (axis cs:0,0) -- (axis cs:1,3);
    %\draw[-Stealth, tab-orange, ultra thick] (axis cs:0,0) -- (axis cs:2,2);
    %\draw[-Stealth, tab-orange, ultra thick] (axis cs:0,0) -- (axis cs:3,1);
    %\draw[-Stealth, tab-orange, ultra thick] (axis cs:0,0) -- (axis cs:4,0);

    % Draw the labels for the q coordinates
    \node[anchor=north, yshift=-2pt] at (axis cs:5.25,0) {$[\vj]_1$};
    \node[anchor=east, xshift=-2pt] at (axis cs:0,5.25) {$[\vj]_2$};

    % Draw the gamma values
    \node[anchor=south west, transparentfill, xshift=2pt, yshift=2pt] at (axis cs:0,4) {$\gamma_{{\vi, (4,0)}} = \nicefrac{13}{192} $};
    \node[anchor=south west, transparentfill, xshift=2pt, yshift=2pt] at (axis cs:1,3) {$\gamma_{{\vi, (1,3)}} = -\nicefrac{1}{3} $};
    \node[anchor=south west, transparentfill, xshift=2pt, yshift=2pt] at (axis cs:2,2) {$\gamma_{{\vi, (2,2)}} = \nicefrac{5}{8} $};
    \node[anchor=south west, transparentfill, xshift=2pt, yshift=2pt] at (axis cs:3,1) {$\gamma_{{\vi, (3,1)}}$};
    \node[anchor=south west, transparentfill, xshift=2pt, yshift=2pt] at (axis cs:4,0) {$\gamma_{{\vi, (4,0)}}$};
  \end{axis}

  % Draw the values of p
  \node[anchor=north east, transparentfill] at (current bounding box.north east) {$\vi = (2, 2)$};
\end{tikzpicture}
% \end{minipage}
%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "../main"
%%% End:
