[pstricks] pst-bezier and pst-linesty.

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Tue Sep 7 07:44:08 CEST 2004


John Frampton wrote:

> Working in coordinates, it is not difficult to establish control points.
> But in applications in which two nodes need to be connected by \nccurve,
> sometimes it would be possible to get a much nicer looking connection if
> the tightness can be made different at the two ends.  This is difficult
> to accomplish with control points.  So what I would like is to be able
> to say things like:
> 
>     \nccurve{angleA=190,ncurvA=5.,angleB=80,ncurvB=1.2}{labelA}{labelB}


maybe that I do not understand what you really mean, but

\documentclass[12pt]{article}
\usepackage{pstricks}
\usepackage{pst-node}
\begin{document}

\fnode[framesize=1cm 2mm](2,0){A1}\fnode*[framesize=1cm 2mm](3,0){A2}
\nccurve[angleA=-45,angleB=-135,ncurv=10]{->}{A1}{A1}
\nccurve[angleA=-45,angleB=-135,ncurvA=10,ncurvB=20]{->}{A2}{A2}

\vspace{2cm}
\pnode(0,0){A}\pnode(3,-3){B}
\psset{arrowscale=2}
\nccurve[angleA=-45,angleB=-135,ncurv=0.3]{->}{A}{B}
\nccurve[angleA=45,angleB=-135,ncurvA=1,ncurvB=2.2]{->}{B}{A}
\end{document}



Herbert


-- 
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list