[pstricks] pst-bar and bar color

mathias legrand legrand.mathias at gmail.com
Sun Nov 1 17:20:26 CET 2009


Hi all,

I have this piece of code:

\begin{figure}[h!]\centering
\psset{xunit=0.5cm, yunit=17cm}
\begin{pspicture}(-1,-0.02)(13,0.3)
\psaxes[Dx=1,Oy=0,Dy=0.1,ticks=y,labels=y,tickstyle=top,axesstyle=frame,labelsep=1pt](-0.5,0)(12.5,0.3001)
\readpsbardata{\data}{uniforme.csv}
\psbarchart[fillstyle=solid,fillcolor=blue,linecolor=black,linewidth=1pt]{\data}
\end{pspicture}
\end{figure}

where uniforme.csv contains

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
0.2, 0, 0, 0, 0.2, 0, 0, 0.2, 0, 0, 0.2, 0.2

It looks like the fillcolor=blue argument has no effect since my bars 
are black?

I can provide the filelist if needed.

Thank you,

M.


More information about the PSTricks mailing list