[pstricks] Pstricks-add documentation...

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Jun 12 07:22:16 CEST 2011


Am 12.06.2011 00:59, schrieb Werner Grundlingh:

> No, I wanted to fix an entire pspicture in terms of the layout when
> drawing a graph (say), and then stretch (enlarge or reduce) it in
> either the x or y direction based on something like the pstScalePoints
> or xunit/yunit combination - this way only coordinates would stretch
> and not fixed lengths using in other objects (like \pscircle's radius,
> for example). Consequently, \psscalebox would not accomplish what I'm
> looking for. Another example of something that I thought would
> naturally occur when using unequal xunit/yunit would be for a circle
> to change into an ellipse when using polar coordinates (see
> attachment):
>
> \documentclass{article}
> \usepackage{pstricks,multido}
> \begin{document}
> \begin{pspicture}(10,10)
> 	\psset{xunit=15mm,yunit=10mm}%
> 	\SpecialCoor%
> 	\rput{0}(0,0){1} \multido{\i=0+18}{20}{\qdisk(1;\i){1pt}}%<- circle


polar coordinates apply only to the setting of runit!

Herbert


> 	\rput{0}(2,0){2} \rput{0}(2,0){\multido{\i=0+18}{20}{\qdisk(!\i\space
> cos \i\space sin){1pt}}}%<- ellipse
> \end{pspicture}
> \end{document}
>
> If this was the intended output when using polar coordinates with
> unequal xunit/yunit, then that's fine, since I would switch to
> postscript notation. Just thought I'd probe to see whether others
> would agree.
>
> Werner


More information about the PSTricks mailing list