[pstricks] elliptical coordinate

Herbert Voss Herbert.Voss at fu-berlin.de
Sun Oct 2 20:57:18 CEST 2022



Am 02.10.22 um 17:38 schrieb Mario Arnold via PSTricks:
> Hi all,
>
> I am not too familiar with PSTricks and could not find a way to draw an
> elliptical coordinate system.
>
> Is this even possible natively or simply or does this have to be put together
> with corresponding function graphs?


\documentclass[pstricks, border=6pt, svgnames]{standalone}
\usepackage{pst-plot,pst-math}

\begin{document}

\psset{unit=2}
\begin{pspicture*}[showgrid](-2.3,-2.3)(2.3,2.3)
\psaxes[axesstyle=frame,Dx=0.5,Dy=0.5](0,0)(-2,-2)(2,2)
% c = 1
\multido{\rA=0.0+0.3}{6}{%
   \psparametricplot[algebraic]{0}{6.28}{
         COSH(\rA)*cos(t) | SINH(\rA)*sin(t) }}
\multido{\rA=-3.140+0.314}{20}{%
   \psparametricplot[linecolor=red,algebraic,plotpoints=1000]{0}{10}{
       COSH(t)*cos(\rA) | SINH(t)*sin(\rA) }}
%x=c cosh u cos v
%y = c ⋅ sinh ⁡ u ⋅ sin ⁡ v
%u ∈ [ 0 , ∞ [  und v ∈ [ 0 , 2 π [
\end{pspicture*}

\end{document}


Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2022-10-02 um 20.55.59.png
Type: image/png
Size: 229267 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20221002/85f400eb/attachment-0001.png>


More information about the PSTricks mailing list.