About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.

Exercise 32: A Bar Chart using bchart.sty (Solution)

This is a solution to Exercise 32.

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\usepackage{bchart}

\begin{document}

\begin{bchart}[max=100,plain,unit={,000}]
\bcxlabel{Company Profits (\pounds)}
\bcbar[label=2011/12]{50}
\smallskip
\bcbar[label=2012/13]{75}
\smallskip
\bcbar[label=2013/14]{60}
\end{bchart}

\end{document}

Download bchart-sample.tex or bchart-sample.pdf.

© 2015 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs