I am in need of displaying line graphs in a LaTeX document but I can't figure out how. I searched on Google but did not receive any promising results. Is it really possible to do this within LaTeX or will I have to embed a jpeg image of a line graph created in Excel?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
Well
Its simple, clean and will produce high quality plots, which fit perfectly into the document style.
For more complex plots you may use gnuplot for computation.
|
|||
|
|
|
I suggest you better create your plots by another application similar e.g. Octave in order to create graphs like:
See e.g. here for further reference. In my opinion LaTeX is only suitable to create very basic graphs that are not likely to be changed often. Otherwise I'd always recommand to use plotting tools and export the graphics as vector images and include them to your LaTeX file. |
|||||||||||||||||
|


pgfplotsto draw graphs. – Peter Grill Jul 6 '12 at 5:00pgfplotsdocumentation shows how this can be done. There's also thepstricks2D plot and 3D plot gallery. – Werner Jul 6 '12 at 5:31