Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Locators disappearing in LocatorPane (although working)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124527] Re: Locators disappearing in LocatorPane (although working)
  • From: "E. Martín-Serrano" <eMartinSerrano at telefonica.net>
  • Date: Sun, 22 Jan 2012 07:28:28 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201201211013.FAA10046@smc.vnet.net>

Sorry,

After additional checking I could reproduce what you report. One, two, or
even the three locators disappear,  yet  the plot keeps working as if the
actual locators were being dragged no matter where  I click the mouse
pointer (seems that somehow the (*LocatorAutoCreate -> True*)  works
although the Locator point does not show up .

-----Mensaje original-----
De: E. Mart=EDn-Serrano [mailto:eMartinSerrano at telefonica.net]
Enviado el: s=E1bado, 21 de enero de 2012 14:13
Para: 'Chris Young'
Asunto: RE: Locators disappearing in LocatorPane (although
working)

I could not reproduce the problem you report in my windows 8.01. I mean, I
cannot make the locators vanish. For me, they seem to be working right.

However, I have experienced that kind of problem with Locators and
LocatorPane in many other situations,  even more, in occasions, with, say,
a three or four locators Bezier (or not Bezier) construct,  very similar to
yours, when I attempt to drag just one locator, all locators move together,
if they in fact move at all. Sometimes the locator moves out of control,
away from the Mouse pointer, and sometimes the locator just freezes.

In the Benchmark,  my Windows 7 based (4 cores/ 8 Threads, 12 Gb RAM)
computer scores 1.17 over (1.00),  well above the  3.07 GHz Core 7i -950 (8
cores) used as reference. So it should not be a lack of resources problem.

What I actually think is that there is some underlying design problem with
the Locator construct itself.

E. Mart=EDn-Serrano




-----Mensaje original-----
De: Chris Young [mailto:cy56 at comcast.net] Enviado el: s=E1bado, 21 de enero de
2012 11:13
Para: mathgroup at smc.vnet.net
Asunto: Locators disappearing in LocatorPane (although working)

The Locators are vanishing from sight before they reach the edge of the
Locator pane, although they are still working.

DynamicModule[
 {P = 1/2 {{1, 1}, {-1, 1}, {1, -1}},
  \[ScriptCapitalP]},

 GraphicsRow [
  {
   Dynamic[
    LocatorPane[
     Dynamic[P],
     Framed @ Graphics[
       BezierCurve[Dynamic[P], SplineDegree -> Length[P]],
       Axes -> True,
       PlotRange -> {{-1, 1}, {-1, 1}}
       ],
     LocatorAutoCreate -> True
     ]
    ],

   Dynamic[
    \[ScriptCapitalP] = Append[#, 0] & /@  P;
    Graphics3D[
     {
      Sphere[\[ScriptCapitalP], 0.05],
      {Gray, Opacity[0.5], Tube[Line[\[ScriptCapitalP]], 0.015]},
      Tube[
       BezierCurve[\[ScriptCapitalP],
        SplineDegree -> Length[\[ScriptCapitalP]]], .03]
      },
     Axes -> True,
     PlotRange -> 1
     ]
    ]
   }
  ]
 ]





  • Prev by Date: Re: FindRoot and parameters in NIntegrate
  • Next by Date: Re: MatrixForm odd behaviour
  • Previous by thread: Locators disappearing in LocatorPane (although working)
  • Next by thread: Re: Locators disappearing in LocatorPane (although working)