## Thursday, 15 October 2015

### How to insert a graph you built with Maple in a Latex document

If you are trying to insert a graph you have just built using Maple in a Latex document, you may struggle for a while until you get to the conclusion that we will here pass to you for free: The easiest way to do that is exporting the plot after placing it on a sheet by itself by means of the tab File from Maple. Choose the option Export As from the tab File from Maple and then export it in a Portable Document Format or in .pdf mode.

After you do that, place your graph inside of the folder in which you are saving your .tex document from Latex, so that you have less work. If you don't do that, Latex may not be able to find your plot and therefore will not put it on its document pages for you.

Now you copy the command lines

\begin{figure}[H]

\includegraphics{yhu.pdf}
\caption{My Picture}

\end{figure}

and paste them on the height of the Latex document, .tex file, where you want the graph to appear. Do not forget to replace yhu.pdf with the actual name of YOUR FILE.

Make sure you have included the packages graphics and float through the preamble of the Latex document by typing this

\usepackage{graphics}
\usepackage{float}

And now it is just a matter of saving and compiling the .tex file. You will see the graph with no mistake on the .ps or .pdf file you have produced through the compilation process.

_____________________________________________________

_____________________________________________________