General ⇒ How to enter figures and graphs from excel
-
- Posts: 1
- Joined: Fri Sep 12, 2008 4:48 pm
How to enter figures and graphs from excel
Thank you,
Nathan
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
How to enter figures and graphs from excel
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
- 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¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10