For example, the "3rd grade" column the blue bar should be 14 and the red bar 7. As you can see I have scaled it, but the values are not correct.
Any help is appreciated. Here is the code.
Code: Select all
\documentclass{article}
\usepackage{pstricks-add}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{color}
\usepackage{pst-bar}
\usepackage{pst-plot}
\usepackage{pstricks-add}
\newcounter{lC}
\setcounter{lC}{1}
\begin{document}
\psset{unit=0.5in}%
\begin{pspicture}(0,-0.5)(3,3)%
\psset{xunit=1.5cm}
\psbarscale(.15){}
\psgrid[xunit=2in,gridlabels=0,%
subgriddiv=0,griddots=100](0,0)(1,5)%
\psaxes[axesstyle=frame,Ox=0,Dx=.5,Dy=5,dy=1.5,labels=y,%
ticks=y](0,0)(6,5)%
\readpsbardata{\data}{figure12.csv}%
\psbarchart[barstyle={blue,red},barcolsep=.5]{\data}%
\rput{360}(4.75,3.25){\textcolor{blue}{Artwork the class produced}}
\rput{360}(4.75,2.25){\textcolor{red}{Pieces Sold at the Art Festival}}
\rput{360}(3,5.5){\Large{Hilary's Art Classes}}
\end{pspicture}
\end{document}