Code:
\documentclass{scrartcl}
\usepackage{pst-eucl,pst-plot,pst-bar,graphicx}
\usepackage{filecontents}
\begin{filecontents*}{test.csv}
0,17.084699999999998,0.0001,
0,-0.0001,-2.2115500000000003,
\end{filecontents*}
\begin{document}
\psset{yunit=1.15mm,xunit=11.00mm}%
%\resizebox{\width}{42mm}{
\begin{pspicture}(-0.125,-30)(5,18)%
\psaxes[axesstyle=axes,Ox=2008,Oy=-30,Dy=6,
labelFontSize=\footnotesize\sffamily,
showorigin=true,linecolor=gray,
tickcolor=gray,mathLabel=false,
xticksize=0 5.5cm, yticksize=0 5.5cm,
xlabelOffset=0.5](0,-30)(4,18)%
\psaxes[axesstyle=frame,labels=none,ticks=none](0,-30)(5,18)
\readpsbardata[header=false]{\data}{test.csv}%
\newpsbarstyle{isstyle}{dimen=inner,fillstyle=solid,
fillcolor=blue!20,linecolor=blue!20}%
\newpsbarstyle{planstyle}{dimen=inner,fillstyle=solid,
fillcolor=black,linecolor=black}%
\psbarchart[barstyle={isstyle,planstyle},
barcolsep=0.1,chartstyle=block]{\data}%
%labeling of the bar(s) within the chart
\def\data{ , 17.08, -2.21, }
\rput(-0.5,0){% %\rput(-0.5,-2.5){%
\newcounter{xVal}
\setcounter{xVal}{0}
\psforeach{\n}{\data}%
{\stepcounter{xVal}%
\uput[90](\thexVal,\n){\tiny{\n}}}}
\end{pspicture}%
\end{document}
Herbert
Lesezeichen