I am a first time user of TeXnicCenter and I have to insert a graph from excel and many different pictures. First how do I transfer the graph into this program and second i know how to import pictures but how do i but them exactly where i want them.
Thank you,
Nathan
General ⇒ How to enter figures and graphs from excel
-
- Posts: 1
- Joined: Fri Sep 12, 2008 4:48 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
How to enter figures and graphs from excel
Hi Nathan,
welcome to the board!
With pdflatex, that means with the output profile LaTeX => PDF of TeXnicCenter, you can include graphics in pdf, png and jpg format, pdf is recommendable for best quality if the picture isn't already in raster format like jpg oder png.
Try to export the excel graph to pdf format, if possible. I don't use Excel because I'm working with Linux, so I cannot provide exact information about Excel. In LaTeX you could use \includegraphics{filename}, without extension, and load graphicx in your preamble: \usepackage{graphicx}.
To get detailed information about inclusion and positioning of graphics have a look at those documents:
Stefan
welcome to the board!
With pdflatex, that means with the output profile LaTeX => PDF of TeXnicCenter, you can include graphics in pdf, png and jpg format, pdf is recommendable for best quality if the picture isn't already in raster format like jpg oder png.
Try to export the excel graph to pdf format, if possible. I don't use Excel because I'm working with Linux, so I cannot provide exact information about Excel. In LaTeX you could use \includegraphics{filename}, without extension, and load graphicx in your preamble: \usepackage{graphicx}.
To get detailed information about inclusion and positioning of graphics have a look at those documents:
- LaTeX standard graphics and color packages documentation
- Guide to using Encapsulated PostScript in LaTeX (also available in French)
This guide is also useful for non-PostScript graphics.
Stefan
LaTeX.org admin
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to enter figures and graphs from excel
You can try excel2latex for converting your Excel charts to LaTeX source code. It's unsure if this tool works with recent versions of Excel. The current version of Excel is said to be able to save diagrams directly as PDF. Since I do not use Excel, I can't tell for sure. I suggest to prepare your graphs with other programs.nathangordon wrote:[...] First how do I transfer the graph into this program and second i know how to import pictures but how do i but them exactly where i want them. [...]
- For easy visualization of data sets you can use GnuPlot, which is based on a script language and offers many different file formats for export.
- Qtiplot is a data processing tool and calls itself an Origin clone. It has a GUI and makes it easy to prepare graphs.
- SciDAVis is a fork of Qtiplot and offers the same capabilities. It comes with a Windows installer.
Stefan already gave very useful hints about placing floats in the document. I want to supplement some basic measures. From my experience the best placement of floats is achieved by a special list of options. Take this as an example.
Code: Select all
\begin{figure}[!ht]
\centering
\rule{4cm}{3cm}
\caption{Dummy figure}\label{fig:dummy}
\end{figure}
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to enter figures and graphs from excel
Though not free software, http://www.wmf2eps.de.vu/ can be used, and the resulting eps can be converted to pdf by MikTeX's epstopdf. wmf2eps converts Microsoft's aging WMF (Windows Metafile) format, which is the vector graphics format used by Microsoft Office.