I'm very new to Latex and this is my first document in it. Can someone please guide as to how I can bring the figure under my Results heading. I've tried implementing [H] and \userpackage{float} as well but nothing seems to be working
\documentclass[conference,12pt]{IEEEtran}
\usepackage{blindtext, graphicx}
\usepackage{listings}
\lstset { %
language=C++,
numbers=left,
breaklines=true,
xleftmargin=4em,
resetmargins=true,
basicstyle=\footnotesize,
numberstyle=\footnotesize,
}
\usepackage{graphicx}
\usepackage[font=small]{caption}
\usepackage[utf8]{inputenc}
\begin{document}
\section{Results}
Text
\begin{figure}
\centering
\includegraphics[width=8.5cm]{Picture1.png}
\caption{Comparing Results of Logistic Regression with two different Feature Extraction Methods }
\label{fig:}
\end{figure}
\addtolength{\textheight}{-12cm}
\end{document}
\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for the users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – samcarter_is_at_topanswers.xyz Jan 02 '23 at 17:26{table}environment will still have the same floating aspect.) – Teepeemm Jan 02 '23 at 17:29\begin{figure}[htbp]places the figure in the results section. However from the picture of your real document, I suspect there is not enough space left at the bottom of the page to place the figure there. – samcarter_is_at_topanswers.xyz Jan 02 '23 at 17:36figureenvironment. – samcarter_is_at_topanswers.xyz Jan 02 '23 at 17:43