Graphics, Figures & TablesGraph going to last page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Graph going to last page

Post by Adam_LUFC »

I want a graph to be landscape on one page. But it keeps sending it to the end. Also it puts the name of my file newxt to it for soem reason :?

Code: Select all

\usepackage{amsmath,parskip,graphicx,rotating,afterpage}

Code: Select all

\subsection{Winning and Drawing Fraction Results}

The graph below (Figure 2) shows us that the graph is slightly different to the winning fraction only (Figure 1) as the graph is shifted to the right. Otherwise you can see it is roughly the same, as the premiership has a higher winning and drawing fraction at the larger \begin{math}F(x)\end{math}. \begin{math}F(x)\end{math} is the cumulative distribution of the wins and draws, in other words when we sorted the winning and drawing fractions into order from smallest to largest. The first winning and drawing fraction has \begin{math}F(x)\end{math} of 1 as only one team has this fraction or less. Then the second winning and drawing had \begin{math}F(x)\end{math} of 2 as two teams have this fraction or less all the way up to \begin{math}n\end{math}.

\clearpage

\begin{sidewaysfigure}[htb]
\begin{center}
\includegraphics[scale=0.2]{C:/Users/Adam/Documents/30-01-2011/winning and drawing fraction.pdf}
\end{center}
\caption{Winning and Drawing Fraction}
\label{Winning and Drawing Fraction}
\end{sidewaysfigure}



However at the lower end of the graph it shows us that it is the same as winning fraction only (Figure 1). This tells us that in the premiership the teams at the bottom have a smaller winning and drawing fraction than the teams at the bottom in the other three football leagues. This indicates that the premiership is less competitive because the stronger teams lose less of their games whereas the weaker teams lose a higher proportion of their games. 

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Re: Graph going to last page

Post by Adam_LUFC »

I've managed to get rid of the filename by deleting the spaces the filename was saved as.

But it is still putting my graph at the end.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Graph going to last page

Post by localghost »

Please get used to always providing a complete but minimal example. Otherwise it becomes nearly impossible to comprehend a more complicated problem.

Note that the sidewaystable environment always starts a new page and occupies this completely. So its output depends a little bit on what you have in your source. Under some circumstances the output is done on the last page. Add a bit more stuff behind the sidewaystable environment and see what happens.


Thorsten
Post Reply