In the document below, the labels, set with
xLabels
, are in math mode. Is there an error in pstricks-add or have I made some simple mistake, which I cannot spot?Code: Select all
\documentclass{article}
\usepackage{pstricks-add}
\begin{document}
\begin{figure}
\def\bredde{0.7 }
\centering
\psset{
xunit=0.7cm,
yunit=0.05cm
}
\begin{pspicture}(15,240)
\psaxes[
xLabels={
,Nord,
,Syd,
,Midt-Vest,
,Fyn,
,Bornholm,
,Lorry,
},
xLabelsRot=90,
Dy=2,
dy=20,
ticks=y,
ylabelFactor={\cdot 10^4}
]{->}(0,0)(12,230)[Tv-stationer,0][Seere,90]
\multido{\i=20+20}{11}{%
\psline[linestyle=dotted](0,\i)(12,\i)
}
\pspolygon[fillstyle=solid,fillcolor=red!45]%
(!2 3 mul 1 sub \bredde 2 div sub 0)%
(!2 3 mul 1 sub \bredde 2 div sub 107)%
(!2 3 mul 1 sub \bredde 2 div add 107)%
(!2 3 mul 1 sub \bredde 2 div add 0)
\rput(!2 3 mul 1 sub 107 5 add){\scriptsize{107\,000}}
\rput{90}(!2 3 mul 1 sub 107 2 div){\scriptsize{12{,}2\,\%}}%
\end{pspicture}
\end{figure}
\end{document}