[pstricks] Using ps code in psplot's limits
Juergen Gilg
gilg at acrotex.net
Fri Mar 7 22:39:08 CET 2008
Dear Hubert,
of course you can directly insert PS for x_min/max, like
\documentclass{article}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}(-1.5,-0.5)(4.5,5.5)
\psplot[algebraic=true,plotpoints=100]{0}{Pi 4 div}{sin(x)}
\psaxes{->}(0,0)(-0.5,-1.5)(5.5,1.5)
\end{pspicture}
\end{document}
Regards,
Juergen
Hubert Lam wrote:
> Given that the usage of \psplot (excluding options) is
>
> \psplot{x_min}{x_max}{PS code for function}
>
>
> is there a mechanism that I'm not aware of that will allow the effects
> of this:
>
> \usepackage{pstricks,pst-math}
> \def\PiFour{PI 4 div}
> \psplot{0}{\PiFour}{x SIN}
>
> to plot the curve of sin(x) (pst-math) from x = 0 to x = \frac{\pi}{4} ?
>
> Thanks
>
> Hubert
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
>
--
Jürgen Gilg
Austr. 59
70376 Stuttgart
-------------------------------------
Tel 0711.59 27 88
e-Mail gilg at acrotex.net
Websites www.acrotex.net
www.brueckenkurs-physik.de
www.gilligan-online.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080307/33942db3/attachment.html
More information about the PSTricks
mailing list