[pstricks] define parameters

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Oct 19 12:22:49 CEST 2011


Am 19.10.2011 06:36, schrieb Doris Behrendt:

> I tried, but this doesn't seem to solve my problem, look:
>
> \documentclass[12pt]{article}
> \usepackage{pstricks}
> \usepackage{pst-plot,pst-func}
> \usepackage{pstricks-add}
>
>
> \newcommand{\achsenkreuz}[4]{%
> \psaxes[arrowscale=2]{->}(0,0)(#1,#2)(#3,#4)
> }
>
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \begin{document}
>
>
> \def\xmin{-4}
> \def\xmax{4}
> \def\ymin{-4}
> \def\ymax{4}
> \def\links{\xmin .1 add}%!!!!!!!!!!!!!doesn't make sense, but I need

that is also not possible. Why do you need the two
areas? You can use yMaxValue=... to limit a function to
specific values. On the other hand you can place with \rput a
pspicture* environment inside a default pspicture.

Herbert


More information about the PSTricks mailing list