[pstricks] graphing the cube root function?

Arnaud Schmittbuhl aschmittbuhl at libertysurf.fr
Thu Aug 25 18:50:45 CEST 2005


On Thu, 25 Aug 2005 09:29:09 -0700 (PDT)
Ryan Higginbottom <mathalot at yahoo.com> wrote:

> Dear list:
> 
> I'm afraid that I have another question.  I have the following packages
> loaded: pstricks, pst-plot, pstricks-add.  I would like to use \psplot
> (with the algebraic option) to plot the function y=x^(1/3), but I keep
> getting an error.  Would someone kindly help me through this?

Like that ?

\documentclass{article}
\usepackage{pstricks,pst-plot,pstricks-add}
\begin{document}
\psplot[algebraic=true,plotpoints=200]{0}{5}{x^(1/3)}
\end{document}

-- 
Arnaud Schmittbuhl
Montpellier, France




More information about the PSTricks mailing list