Results 1 to 8 of 8

Thread: Charts/trees in Latex?

  1. #1
    Join Date
    Jul 2006
    Beans
    1,152

    Charts/trees in Latex?

    How would I draw charts in Latex? I want to draw some basic tree-type charts (like in family tables), but wouldn't know how to do so or what package to use.

  2. #2
    Join Date
    Sep 2007
    Beans
    207

    Re: Charts/trees in Latex?

    The usual drawing suspects would probably do the job, such as OpenOffice Draw, Kivio, Dia, xfig, and Inkscape. You'd probably want a vector-based drawing program, so you can search Freshmeat to turn up others as well.

    If you are doing family trees, you can go hardcore and dive into GRAMPS, and from that you can spit out a family tree as well.

    The trick then becomes converting whatever those output to eps files for latex (or png files for pdflatex). Your handy convert command can do wonders, which you get if you install ImageMagick. I've also used Gimp to convert images.

    Probably the best way, but one that I have never used so I cannot personally recommend, is using Asymptote. It is based on Metapost, so it is TeX/LaTeX friendly. A quick scan of the web page looks like that if you know how to do latex (without using a latex editor), then you can probably get up to speed pretty quickly.

    Having said/written all that above, I stumbled upon this page that tells you a variety of ways to do trees in latex. You might also find this site, or maybe this site useful.

  3. #3
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: Charts/trees in Latex?

    For all such drawings and graphs I usually use metapost, I find it nicely compatible with Latex, and I find it pretty powerful.
    However, it does take some time to learn how to use it correctly...
    metapost is (who would have thought) in the texlive-metapost package.

  4. #4
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Charts/trees in Latex?

    Tikz/PGF package:

    http://www.texample.net/tikz/examples/feature/trees/

    It’s a pure Latex solution.

  5. #5
    Join Date
    Feb 2009
    Beans
    3

    Re: Charts/trees in Latex?

    GLE is a very hand tool for trees and charts and it's very easy to use:
    http://glx.sourceforge.net/

    go to the examples -> diagrams section and you'll see how easy it is!

  6. #6
    Join Date
    Jan 2008
    Beans
    311
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Charts/trees in Latex?

    There is also GraphViz, an extremely handy tool for drawing flow charts:
    http://graphviz.org/
    "Bergeron fans on a pass, Stefan steals and he'll ice it. Oh - at least I thought he was gonna until he blew it. That's unbelievable! Here come the Oilers the other way and Hemsky's loose... Hemsky, HE SCORES!!! CAN YOU..BELIEVE..WHAT WE..JUST SAW??"

  7. #7
    Join Date
    Jun 2011
    Location
    Szekesfehervar, Hungary
    Beans
    2
    Distro
    Ubuntu

    Smile Re: Charts/trees in Latex?

    Quote Originally Posted by hugmenot View Post
    Tikz/PGF package:

    http://www.texample.net/tikz/examples/feature/trees/

    It’s a pure Latex solution.
    For LaTeX I recommend TikZ too. It is very nice and powerful.
    Last edited by Arpad Horvath, Szfvar; November 20th, 2012 at 09:41 AM. Reason: not repeat url

  8. #8
    Join Date
    Oct 2006
    Location
    Ayrshire
    Beans
    39,810
    Distro
    Ubuntu Development Release

    Re: Charts/trees in Latex?

    Old thread back to sleep.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •