On 11/29/06, Jaime Díaz-Deus Fernández <[EMAIL PROTECTED]> wrote:
Helo to all. I have problems with this code from the pstricks-add manual
(pstricks-add-doc) and there are errors in the DVI wiew:
\psset{xunit=.44cm,yunit=.3cm}
\begin{pspicture}(-2,-3)(29,13)
\psaxes[axesstyle=axes,0x=1466,0y=0,Dx=4,Dy=2,ylabelFactor={\,\%}{-}(29,12)
\listplot[shadow=true,linecolor=blue,plotstyle=bar,barwidth=0.3cm,fillcolor=
red,fillstyle=solid]{\barData}{\barras.dat}
\rput{90}(-3,6.25){Amount}
\end{pspicture}
I am not shure about the notation of the data file but this file is in the
LyX work directory and his name is barras.dat. In the preamble I have:
\usepackage{pstricks}
\usepackege{pst-bar}
\usepackage{pstricks-add}
The file barras.dat is like this:
1466, 0
1470, 6.2
1474, 6.3
1478, 2
1482, 1
1486, 0.5
1490, 4.3
1494, 5
Thanks for your help.
PSTricks acts directly on the PS file and therefore the DVI output
should not be considered. Use PS View instead.
Paul