MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Arrow on arc using Circle

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131465] Re: Arrow on arc using Circle
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Thu, 11 Jul 2013 02:02:28 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130710073716.1C3B569C8@smc.vnet.net>

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 at 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
>
>




  • Prev by Date: Re: What is the actual simulation time of NDSolve?
  • Next by Date: Re: inconsistent refinement behavior
  • Previous by thread: Arrow on arc using Circle
  • Next by thread: How to pass Jacobian to IDA via NDSolve