![\pslistplot 是否支持选项 polarplot=true?](https://linux22.com/image/278680/%5Cpslistplot%20%E6%98%AF%E5%90%A6%E6%94%AF%E6%8C%81%E9%80%89%E9%A1%B9%20polarplot%3Dtrue%EF%BC%9F.png)
请考虑以下示例:
\documentclass{standalone}
\usepackage{pst-plot}
\begin{document}
\psset{unit=0.5}
\begin{pspicture}(-8.5,-8.5)(14,9)%
\psset{linewidth=.35mm,plotstyle=curve,polarplot=true}
%
\psplot[plotpoints=200]{0}{720}{8 2.5 x mul sin mul}
%
%the same (?) with \pslistplot
\pstVerb{/mylist {/x exch def x DegtoRad 8 2.5 x mul sin mul x 720 lt {x 3.6 add mylist} if} def }
\pslistplot[linecolor=blue]{0 mylist} % 0 mylist => 0 0 0.0628318489 1.25147569 ... 4*Pi 0.0
\end{pspicture}
\end{document}
\psplot
显然,和生成的图表\pslistplot
并不相同;\pslistplot
似乎没有承认这个polarplot
选择。
答案1
\pstVerb{/mylist {
/x exch def
8 2.5 x mul sin mul
x cvi 360 mod PtoC
x 720 lt {x 3.6 add mylist} if} def }
或等待下次更新。
\documentclass{standalone}
\usepackage{pst-plot}
\begin{document}
\psset{unit=0.5}
\begin{pspicture}(-8.5,-8.5)(9,9)%
\psset{linewidth=.35mm,plotstyle=curve,polarplot}
\psplot[plotpoints=200,linewidth=3pt,linecolor=red,algebraic]{0}{13.5}{8*sin(2.5*x)}
\pstVerb{/mylist {/x exch def x 8 2.5 x mul sin mul x 720 lt {x 3.6 add mylist} if} def }
\pslistplot[linecolor=white,linewidth=1pt]{0 mylist}
\end{pspicture}
\end{document}
顺便说一句:使用 PSTricks 邮件列表更有意义。