[pstricks] Elliptic arc through points

Hendrik Maryns hendrik at hendrikmaryns.name
Wed Nov 6 21:41:18 CET 2013


Hi all,

I use pst-eucl’s \pstGenericCurve to connect three points, but I would
like the arc to be an ellipse (it is a tilted circle).  Is there a
possibility to do that?  \psellipticarc is difficult to use, since it
does not go through points and I would have to compute the radii and
angles myself.

This is what I have:

\begin{pspicture}(0,-1)(3,2)
  \pstGeonode[CurveType=polygon](0,0){A}(0,1){B}(2.5,.9){C1}(2.5,-.1){D1}
  \pstGeonode(2.7,0){D2}(2.7,1){C2}
  \pstGeonode(1.8,.3){D3}(1.8,1.3){C3}
  \pstLineAB{B}{C3}
  \pstLineAB[linestyle=dotted]{A}{D3}
  \pstLineAB{D2}{C2}
  \pstLineAB[linestyle=dotted]{D3}{C3}
  \pstGenericCurve[linestyle=dotted]{D}{1}{3} % here
  \pstGenericCurve[linestyle=solid]{D}{1}{2}  % and here
  \pstGenericCurve{C}{1}{3}
  \uput[-90](1.2,-.05){7~cm}
  \uput[180](0,.5){3~cm}
  \pstMarkAngle[MarkAngleRadius=1,LabelSep=1.5]{C1}{B}{C3}{$45^°$}
\end{pspicture}

I want the ‘here’ to be elliptic, and the line below to be solid, which
\pstGenericCurve does not do (it seems not to work with only 2 points).

TIA, H.
-- 
Hendrik Maryns

Drielandenhoek 24
NL-2034 LV Haarlem
+31237370263
+31634861841 (staat meestal uit, enkel nootgevallen)
http://hendrikmaryns.name
===========
signature.asc?!?
→ http://en.wikipedia.org/wiki/PGPhttp://mindprod.com/project/mailreadernewsreader.html
.eml?!?
→ http://www.ehow.com/how_5829197_open-_eml-files.html
Spelling?!?
→ http://hendrikmaryns.name/spelling.php

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/pstricks/attachments/20131106/b1f33482/attachment.bin>


More information about the PSTricks mailing list