<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Myriad Pro">Dear Zbigniew,<br>
<br>
try this one -- this avoids the gaps:<br>
<br>
</font>\begin{pspicture}(-3.5,-3)(3.5,3.5)<br>
\pscircle[fillstyle=solid,fillcolor=lightgray,linestyle=black,linewidth=2pt](0,0){2}<br>
\pscircle[fillstyle=solid,fillcolor=white,linestyle=black,linewidth=2pt](0,0){1}<br>
\psarc[linewidth=2pt, arrows=->, arrowscale=2](0,0){2}{20}{100}<br>
\psarc[linewidth=2pt, arrows=->, arrowscale=2](0,0){2}{100}{180}<br>
\psarc[linewidth=2pt, arrows=->, arrowscale=2](0,0){2}{180}{260}<br>
\psarc[linewidth=2pt, arrows=->, arrowscale=2](0,0){2}{260}{340}<br>
\psarc[linewidth=2pt](0,0){2}{340}{20}<br>
<br>
\psarcn[liftpen=2,linewidth=2pt, arrows=->,
arrowscale=2](0,0){1}{340}{260}<br>
\psarcn[linewidth=2pt, arrows=->, arrowscale=2](0,0){1}{260}{180}<br>
\psarcn[linewidth=2pt, arrows=->, arrowscale=2](0,0){1}{180}{100}<br>
\psarcn[linewidth=2pt, arrows=->, arrowscale=2](0,0){1}{100}{20}<br>
\psarcn[linewidth=2pt](0,0){1}{20}{260}<br>
\end{pspicture}
<div><br>
<br>
Regards,<br>
<br>
Juergen<br>
</div>
<br>
<br>
Zbigniew Nitecki wrote:
<blockquote cite="mid:6C3E12D1-5420-4D42-AB50-E2E76DCC3959@tufts.edu"
type="cite">I wanted to draw an annulus, filled in light gray, with
arrows along the edges.
<div>The code below gives more-or-less what I want (although I am not
sure how to get rid of the</div>
<div>gaps in the circles):</div>
<div>**********************************************</div>
<div>
<div>\begin{pspicture}(-3.5,-3)(3.5,3.5)</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\pscircle[fillstyle=solid,
fillcolor=lightgray, linestyle=none](0,0){2}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\pscircle[fillstyle=solid,
fillcolor=white, linestyle=none](0,0){1}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{20}{100}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{100}{180}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{180}{260}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{260}{340}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt](0,0){2}{340}{20}</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[liftpen=2,linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{340}{260}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{260}{180}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{180}{100}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{100}{20}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt](0,0){1}{20}{260}</div>
<div>\end{pspicture}</div>
<div>*****************************************************</div>
<div>But I wonder if there is a way of filling the annulus using</div>
<div>a single \pscustom command. The following code gives the second
picture below: the main problem is the small bit of filled-in area
inside the "hole", another is that the lines print thin, and the arrows
are cut in half. (Also, I needed to leave off the last arrow because
otherwise I got an even worse picture):</div>
<div>*******************************************************</div>
<div>
<div>\begin{pspicture}(-3.5,-3)(3.5,3.5)</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\pscustom[fillstyle=solid,
fillcolor=lightgray]{</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{20}{100}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{100}{180}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{180}{260}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt,
arrows=->, arrowscale=2](0,0){2}{260}{340}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarc[linewidth=2pt](0,0){2}{340}{20}</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[liftpen=2,linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{340}{260}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{260}{180}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{180}{100}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt,
arrows=->, arrowscale=2](0,0){1}{100}{20}</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>\psarcn[linewidth=2pt](0,0){1}{20}{260}</div>
<div>}</div>
<div>\end{pspicture}</div>
<div>***************************************************************</div>
<div>Output pdf attached:</div>
</div>
</div>
<br>
<hr size="4" width="90%"><br>
<div>
<div> <span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3"><br class="Apple-interchange-newline">
Zbigniew Nitecki</font></p>
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3">Department of Mathematics</font></p>
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3">Tufts University</font></p>
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3">Medford, MA 02155</font></p>
<p
style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px;"><br>
</p>
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3">telephones:</font></p>
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3">Office<span class="Apple-converted-space"><span
class="Apple-converted-tab"> <span class="Apple-converted-space"> </span></span></span>(617)627-3843</font></p>
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3">Dept.<span class="Apple-converted-space"><span
class="Apple-converted-tab"> <span class="Apple-converted-space"> </span></span></span>(617)627-3234</font></p>
<p style="margin: 0px;"><font
style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
face="Helvetica" size="3">Dept. fax<span class="Apple-converted-space"><span
class="Apple-converted-tab"> <span class="Apple-converted-space"> </span></span></span>(617)627-3966</font></p>
<a moz-do-not-send="true" href="http://www.tufts.edu/%7Eznitecki/">http://www.tufts.edu/~znitecki/</a></span>
</div>
<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
PSTricks mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="65">--
Jürgen Gilg
Austr. 59
70376 Stuttgart
-------------------------------------
Tel 0711.59 27 88
e-Mail <a class="moz-txt-link-abbreviated" href="mailto:gilg@acrotex.net">gilg@acrotex.net</a>
Websites <a class="moz-txt-link-abbreviated" href="http://www.acrotex.net">www.acrotex.net</a>
<a class="moz-txt-link-abbreviated" href="http://www.brueckenkurs-physik.de">www.brueckenkurs-physik.de</a>
<a class="moz-txt-link-abbreviated" href="http://www.gilligan-online.de">www.gilligan-online.de</a>
</pre>
</body>
</html>