Graphics, Figures & TablesHow do I do these voting bar diagrams?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
pktm
Posts: 7
Joined: Sat Jun 26, 2010 10:52 am

How do I do these voting bar diagrams?

Post by pktm »

Hi!

There is a vote on this website: http://www.translationtribulations.com/
I want to draw this in my latex document. I'm using WinShell + PDFLatex.

So what package is there to draw the voting bar diagarms with the percentage in them?

Best regards, pktm

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How do I do these voting bar diagrams?

Post by localghost »

Try either the datatool or the pgfplots package. In the manuals you will find detailed instructions on how to achieve what you want.


Best regards and welcome to the board
Thorsten
pktm
Posts: 7
Joined: Sat Jun 26, 2010 10:52 am

Re: How do I do these voting bar diagrams?

Post by pktm »

Hi!

I had a look at the packages, but they don't do what I want to do.

datatools can calculate the percentage value for the poll entries itself, but I don't need that, as the set of values is well defined and will nto change.

pgfplits is a great tool, but the only thing is seems not to do is a horizontal bar with the number in it.

I fear, that the highly advanced document markup language LaTeX simply is not able to do such thing. I will use graphics now :-(

Best ragards, pktm
Post Reply