[pstricks] a pst-graph and a pst-tools problem

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Dec 7 22:21:44 CET 2012


Am 07.12.2012 11:57, schrieb Cyrille Piatecki:
> Dear all,
>
> sorry but in my last invoice I have forgotten to join the revvcons.dat file
>
> 1)
> I don't understand why the code
>
> \documentclass{minimal}
> \usepackage{pstricks, pst-plot,pstricks-add}
>
> \begin{document}
> \begin{center}
> \readdata[ignoreLines=1]{\data}{revvcons.dat}%
> %\pstScalePoints(1,1){1989 sub}{}
> \psset{xAxisLabel=PIB,yAxisLabel=Consommation,xAxisLabelPos={c,-0.4cm},yAxisLabelPos={-1.5cm,c}}
>
> \begin{psgraph}[axesstyle=frame,Dx=10,Ox=1920,subticks=0,
> Dy=1](1920,0)(1920,-1)(2011,1){12cm}{50mm}%
> \listplot[linecolor=blue,linewidth=5pt,plotNo=3,plotNoMax=5]{\data}
> \end{psgraph}
> \end{center}
> \end{document}
>
> for the joined file give no errors but no prints -- in Bakoma.

how should that work, when your data has a completrely other range
as you defined with psgraph??

\documentclass{minimal}
\usepackage{pst-plot}

\begin{document}
\begin{center}
\readdata[ignoreLines=1]{\data}{revvcons.dat}%
%\pstScalePoints(1,1){1989 sub}{}
\psset{xAxisLabel=PIB,yAxisLabel=Consommation,xAxisLabelPos={c,-1cm},yAxisLabelPos={-1.5cm,c}}
\begin{psgraph}[axesstyle=frame,Dx=200,Dy=500,Ox=200,subticks=0](200,0)(200,-1)(1900,1500){12cm}{50mm}%
\listplot[linecolor=blue,linewidth=2pt,plotstyle=dots]{\data}
\end{psgraph}
\end{center}
\end{document}

Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revvcons.dat
Type: video/mpeg
Size: 1053 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20121207/22a825c5/attachment.m1v>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 22:20:21.png
Type: image/png
Size: 6390 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20121207/22a825c5/attachment.png>


More information about the PSTricks mailing list