MathGroup Archive 2010

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

Search the Archive

Glitch with having Graphics along with printouts dynamically


I have the following code

p = {1, 0};
Dynamic[
 Grid[{
   {
    v = Normalize[p];
    Graphics[{
      Circle[{0, 0}, 1],
      Line[{{0, 0}, v}],
      Locator[Dynamic[p]]
      },
     PlotRange -> {{-2, 2}, {-2, 2}}, ImageSize -> 500]
    },
   {ArcTan[v[[2]]/v[[1]]]}
   }]
 ]

to display both some dynamic graphics and information about it. But I
noticed, that the circle becomes ellipse somethimes. Why?


  • Prev by Date: Building clusters out of a nested list
  • Next by Date: Re: Median filter
  • Previous by thread: Re: Building clusters out of a nested list
  • Next by thread: Re: Glitch with having Graphics along with printouts dynamically