I need to fill quadrant three and want to use axis equal=true. However, using this setting changes the minimum value of x. How do I adjust this to fill the entire quadrant independent of axis equal=true or axis equal=false.
The MWE below produces the result I want, but not if I uncomment the axis equal=true line.
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\newcommand*{\XAxisMin}{-4.5}
\newcommand*{\XAxisMax}{4.5}
\newcommand*{\YAxisMin}{-4.5}
\newcommand*{\YAxisMax}{4.5}
\begin{axis}[%axis equal=true,
axis y line=center, axis x line=middle, axis on top=true,
xmin=\XAxisMin, xmax=\XAxisMax, ymin=\YAxisMin, ymax=\YAxisMax,
]
\fill[red!40]
(axis cs:\XAxisMin,\YAxisMin) --
(axis cs:0.0,\YAxisMin) --
(axis cs:0.0,0.0) --
(axis cs:\XAxisMin,0.0) --
cycle;
% Based on Jake's solution, this should have worked, but produces identical results for me (PGFversion: 2.10)
% \fill[green!40]
% (axis cs:\pgfkeysvalueof{/pgfplots/xmin},\pgfkeysvalueof{/pgfplots/ymin}) --
% (axis cs:0.0,\pgfkeysvalueof{/pgfplots/ymin}) --
% (axis cs:0.0,0.0) --
% (axis cs:\pgfkeysvalueof{/pgfplots/xmin},0.0) --
% cycle;
\end{axis}
\end{tikzpicture}
\end{document}

