[pstricks] complex calculation

Marco Daniel marco.daniel at mada-nada.de
Fri Jul 2 10:51:39 CEST 2010


Hello,

how can I calculate the points of the equation
z^5=1


I know that i can use the cxconv-marco of the pst-func but it doesn't 
work in my minimal example:

\documentclass{article}
\parindent0pt
\pagestyle{empty}
\usepackage{pstricks}
\usepackage{pst-func}
\usepackage{pstricks-add}

\begin{document}
\begin{psgraph}[labels=none,ticks=none]{->}(0,0)(-1,-1)(1,1){5cm}{5cm}
%%%%z_0=exp(i 2/5\pi)
\psset{radius=3pt}
\Cnode*(!2 5 div Pi mul cxvonv){A}
%%%%z_1=exp(i 4/5\pi)
%%%%z_2=exp(i 6/5\pi)
%%%%z_3=exp(i 8/5\pi)
%%%%z_4=exp(i 2\pi)
%
\end{psgraph}
\end{document}

Thanks and regards
Marco



More information about the PSTricks mailing list