[pstricks] Pstricks-add documentation...

Michael Sharpe msharpe at ucsd.edu
Sat Jun 11 21:59:47 CEST 2011


On Jun 11, 2011, at 11:26 AM, Werner Grundlingh wrote:

> This historical version (Nov 27, 2006) of pstricks-add documentation
> contains a definition of \pstScalePoints(xscale,yscale){xPS}{yPS}:
>  http://elias.rhi.hi.is/latex/generic/pstricks-add/pstricks-add-doc.pdf
> However, the latest version on CTAN (Jan 29, 2011) only contains an
> example where \pstScalePoints(...,...){...}{...} is used:
>  http://www.ctan.org/pkg/pstricks-add
> 
> Why was this dropped from the documentation?
> 
> My inquiry stems from the following minimal example:
> 
> \documentclass{article}
> \usepackage{pstricks,pstricks-add}
> \begin{document}
> \begin{pspicture}(10,10)
> 	\psset{xunit=15mm,yunit=10mm}% <- blue/red dots in different locations
> %	\psset{unit=10mm} \pstScalePoints(1.5,1){}{}% <- blue/red dots in
> same location
> 	\SpecialCoor%
> 	\psset{linecolor=black} \qdisk(0,0){5pt}%
> 	\psset{linecolor=red} \qdisk(2;30){5pt}%
> 	\psset{linecolor=blue} \qdisk(!2 30 cos mul 2 30 sin mul){5pt}%
> \end{pspicture}
> \end{document}
> 
> The first \psset{...} command has no effect on the second \qdisk(){} -
> thereby leaving the polar coordinates unchanged by the respective x-
> and y-scaling, and consequently showing two disks (red and blue)
> indifferent locations. However, the second \psset{...} command
> performs both x- and y-scaling, regardless of whether in cartesian
> (postscript) or polar coordinates.
> 
> Werner
> _______________________________________________

The command \pstScalePoints has been moved to pst-plot. Its documentation is now in pst-plot-doc.pdf. However, it applies only to subsequent usage of \listplot. Perhaps you intended the functionality of \psscalebox from the main pstricks package?

Michael




More information about the PSTricks mailing list