\usepackage{lscape}
\usepackage{afterpage}% removing blank space before landscape
\usepackage{adjustbox}
\usepackage{graphicx}
these are the packages i am using for the below figure
\afterpage{
\begin{landscape}
\begin{figure}\label{fig:604}
\centering
\begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption{Comparison of Velocity ratio FEM,Experiment and Analytical}\end{minipage}},rotate=180,center}
%\includestandalone[angle=90,width=\linewidth]{Velocity_ratio_comparison}
\includegraphics[width=0.8\linewidth]{image001.png}
%\caption{My caption}
\end{adjustbox}
\end{figure}
\end{landscape}
}
\documentclassand ends with\end{document}. – Jul 11 '19 at 07:35\labelbefore\captionforfigureandtablefloats. By placing\labelbefore\caption, you've basically guaranteed that LaTeX cannot possibly resolve the\ref-based cross-reference correctly. – Mico Jul 11 '19 at 07:37\labelbefore\captionand professing surprise at the fact that\refcannot be resolved correctly. – Mico Jul 11 '19 at 07:41standaloneclass, and the title mentionsstandalone. That's why I was asking for an MWE. – Jul 11 '19 at 08:15figurein astandalone-class document definitely raises a few more eyebrows... – Mico Jul 11 '19 at 08:21