I just saved an .eps file that it can not be uploaded to latex and it shows as in the photo , how would I resolve it ? this is the code , when I use smaller dimensions it's in the center , but with this one , I increased a little bit , and it went out of the center
\begin{figure}[H]
\centering
\label{fig:f419}
\caption{Deflection and weight as functions of D11 and D12}
\includegraphics[width=15cm, height=8cm]{4-23.eps}
\end{figure}
also this is my main file codes , that I don't know how to make a minimal , I mean , I know the link to minimal but here it's just too much and confusing
\documentclass[11pt,a4paper,twoside,openright]{report}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{tabu}
\usepackage{subfigure}
\usepackage{afterpage}
\usepackage{amsmath,amssymb}
\usepackage{rotating}
\usepackage{fancyhdr}
\usepackage[scriptsize]{caption}
\hyphenation{a-gen-tiz-za-zio-ne}
\usepackage{float}
\usepackage[parfill]{parskip}
\graphicspath{ {images/} }
\setlength{\paperwidth}{16cm}
\setlength{\paperheight}{24cm}
\setlength{\oddsidemargin} {2. cm}
\setlength{\evensidemargin} {2. cm}
\addtolength{\oddsidemargin} {-0.4 cm}
\addtolength{\evensidemargin} {-0.4 cm}
\linespread{1.1}
\usepackage[USenglish]{babel}
\usepackage[latin1]{inputenc}
\renewcommand{\captionfont}{\normalfont \sffamily \itshape \small}
\pagestyle{empty}
\begin{document}
\include{frontespizio}
\thispagestyle{empty} \normalfont \cleardoublepage
\include{dedica}
\thispagestyle{empty} \cleardoublepage
\pagenumbering{Roman}
\include{sommario}
\thispagestyle{empty} \vspace*{.75truecm} \cleardoublepage
\include{ringraziamenti}
\thispagestyle{empty} \vspace*{.75truecm} \normalfont \cleardoublepage
\pagestyle{plain}\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[RE]{\bfseries\leftmark}
\fancyhead[LO]{\bfseries\rightmark}
\renewcommand{\headrulewidth}{0.3pt}
\include{capitolo1}
\include{capitolo2}
\include{capitolo3}
\include{capitolo4}
\include{capitolo5}
\include{capitolo6}
\include{capitolo7}
\cleardoublepage
% ---- Bibliography ----
\addcontentsline{toc}{chapter}{Bibliografia}
\bibliographystyle{plain}
\bibliography{bibl_tesi}
%\nocite{*}
\appendix
\pagestyle{fancy}
\fancyfoot{}
\renewcommand{\chaptermark}[1]{\markboth{\appendixname\ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[RE]{\bfseries\leftmark}
\fancyhead[LO]{\bfseries\rightmark}
\renewcommand{\headrulewidth}{0.3pt}
\renewcommand\bibname{references}
\tableofcontents\addtocontents{toc}{\protect\thispagestyle{empty}}\newpage
\renewcommand\listfigurename{list of figures}\listoffigures
\renewcommand\listtablename{list of tables}\listoftables
%\phantomsection\addcontentsline{toc}{chapter}{list of symbols}\input{FrontMat/Symbols}
\include{appendiceA}
\include{appendiceB}
\include{appendiceC}
\include{appendiceD}
\include{appendiceE}
\include{appendiceF}
\include{references}
\end{document}

15cmis wider than\textwidth, please see Center figure that is wider than \textwidth. Please also see Why does an environment's label have to appear after the caption? because your labeling is incorrect at the moment. :-) – Paul Gessler Mar 29 '15 at 19:20paperwidthdirectly. Use the excellentgeometrypackage for this – Mar 29 '15 at 20:44paperwidthto be 16cm unless you are doing some complicated layout with trimming or multiple pages to one physical page. The width of A4 paper is 210mm - not 160. – cfr Mar 29 '15 at 20:50\includestuff. You could try\usepackage[a4paper,lmargin=2cm,rmargin=2cm]{geometry}and comment out all of the\setlengthcommands at the beginning (the bunch of them ;-)) – Mar 29 '15 at 20:55