I want to reference labels in the sentence, as above in the code: like this - \ref{X,Y,Z} to give "Fig. 1a,1b,1c" or "Fig. 1a-c" in text.
\documentclass{article}
\usepackage{subfig}
\usepackage{cite}
\usepackage{hyperref}
\begin{document}
...in the three statistically favoured models (Fig.~\ref{fig:LocalPoly1_residual,
fig:IDW2_residual, fig:RBF_residual}) discussed below and not as well in the case of
GlobalPoly5 (Fig.~\ref{fig:GlobalPoly5_residual}).
\begin{figure}[h!]
\centering
\subfloat[GlobalPoly5]{\label{fig:GlobalPoly5_residual}\includegraphics[width=0.25\textwidth]{"Data Analysis Files/GlobalPoly5_residual"}}
\subfloat[LocalPoly1]{\label{fig:LocalPoly1_residual}\includegraphics[width=0.25\textwidth]{"Data Analysis Files/LocalPoly1_residual"}}
\subfloat[IDW2]{\label{fig:IDW2_residual}\includegraphics[width=0.25\textwidth]{"Data Analysis Files/IDW2_residual"}}
\subfloat[RBF]{\label{fig:RBF_residual}\includegraphics[width=0.25\textwidth]{"Data Analysis Files/RBF_residual"}}
\caption{Residual plots of each of the interpolators.}
\label{fig:residualplot}
\end{figure}
\end{document}
@Leo Liu : it gives a lower case "f" for "figs." - do you know how make it uppercase "F" for consistency with my labelling elsewhere?