[pstricks] \psgraph

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Mon Jul 5 13:14:36 CEST 2004


Herbert Voss wrote:
> in fact of the last thread I thought about a macro
> \psgraph, which does the scaling of the axes, the
> scaling of the data records (also log).
> 
> Here is my first try. Comments?

uuups, sorry ,the other half is missing ...

Herbert


[ ... ]

> \begin{document}

\readdata{\data}{nodes.total}
\psgraph%
    [axesstyle=frame,ticklines=all]               % options for the axes
    [linecolor=red,linewidth=2pt,showpoints=true] % options for plot
    (1,0.000001)                                  % optional scaling - 
default (1,1)
    {\data}{25}{750}{5}{100}{12cm}{10cm}          % parameters
    %data | maxX | maxY | Dx | Dy | Length x-axis | length y-axis

\vspace{0.75cm}
\psset{xAxesLabel=x-Axes,yAxesLabel=y-Axes,%
    xAxesLabelPos={6cm,-1cm},yAxesLabelPos={-1.5cm,5cm}}
\psgraph[axesstyle=frame,ticklines=all]%
    [linecolor=red,linewidth=2pt,showpoints=true]
    (1,0.000001){\data}{25}{750}{5}{100}{12cm}{10cm}

\end{document}




-- 
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list