[pstricks] Ending a psline on pscircle

Rich Shepard rshepard at appl-ecosys.com
Wed Feb 12 19:51:46 CET 2014


On Wed, 12 Feb 2014, Herbert Voss wrote:

> I suppose you are looking for something like that

Herbert,

   I'll need to play with your code to understand how to use it well.

   Yesterday's figure is what prompted me to write (code modified from what
worked in previous figures; probably not optimum):

\documentclass[12pt,letterpaper]{article}
\usepackage{pstricks-add,graphicx}
\usepackage[margin=1cm]{geometry}
\newsavebox\PSTBox

\begin{document}

   \psset{framesep=2mm,arrowscale=1.75}

   %\begin{pspicture}[showgrid](-1.0,-0.25)(15,15)
   \begin{pspicture}(-1.0,-0.25)(15,15)
     \pscircle(5,5){4.7cm}
     \pscircle(10.5,5){4.0cm}
     \psline[linewidth=3pt](5,5)(10.5,5)
     \psline[linewidth=3pt](5,5.25)(5,4.75)
     \psline[linewidth=3pt](10.5,5.25)(10.5,4.75)
     \psline{->}(5,5)(2.18,1.18)
     \psline{->}(10.5,5)(12.68,1.6)
     \psline{->}(8.3,8.3)(8.3,5)
     \rput(5,5.6){2006}
     \rput(10.5,5.6){2005}
     \rput(8.3,4.5){2004}
     \rput(2.6,3.7){Circle with}
     \rput(2.6,3.2){radius 47}
     \rput(12.75,3.7){Circle with}
     \rput(12.75,3.2){radius 40}
   \end{pspicture}
\end{document}

   It is the terminal coordinates of those last 3 \psline functions that I
fit by trial-and-error. I need to think how the use of tangents will help me
on this. And, I should have included this code in my original message.

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.          |      Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



More information about the PSTricks mailing list