Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Arrow on arc using Circle
Replies: 1   Last Post: Jul 11, 2013 1:56 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Bob Hanlon

Posts: 890
Registered: 10/29/11
Re: Arrow on arc using Circle
Posted: Jul 11, 2013 1:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Put the Bezier points on the desired arc


With[{
ti = RandomReal[{0, 2 Pi}],
tf = RandomReal[{0, 2 Pi}]},
Graphics[{
Gray,
Circle[],
Red, Thick,
Arrow[
BezierCurve[
Table[{Cos[t], Sin[t]},
{t, ti, tf, Sign[tf - ti]*Pi/128}]]]}]]



Bob Hanlon




On Wed, Jul 10, 2013 at 3:37 AM, Alan <alan.isaac@gmail.com> wrote:

> Arrow can take a BezierCurve as an argument but not an arc produced with
> Circle. Is there a good reason for that? (Or am I just overlooking how to
> do it?)
>
> Thanks,
> Alan Isaac
>
>






Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.