[pstricks] \parabola

mokaude mokaude at mageos.com
Thu Sep 22 17:19:31 CEST 2005


hello,

I would like to use \parabola to draw a parabola that passes through  
(-1,0) with a maximum at (1,3).
It is possible to draw this parabola for x greater than 1 ? lower  
than -1 ?

Should I use \psplot instead ?


Here is my code :

\documentclass{minimal}

\usepackage{pst-plot}


\begin{document}


\begin{pspicture*}(-3,-3)(5,5)
%     \psgrid
     \psaxes(0,0)(-2,-2)(4,4)
     \parabola(-1,0)(1,3)
\end{pspicture*}

\end{document}


Thanks,

mokaude




More information about the PSTricks mailing list