Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8096
| From | "E. Martín-Serrano" <eMartinSerrano@telefonica.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Locators disappearing in LocatorPane (although working) |
| Date | 2012-01-22 12:33 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jfgvng$pms$1@smc.vnet.net> (permalink) |
| 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@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@comcast.net] Enviado el: s=E1bado, 21 de enero de
2012 11:13
Para: mathgroup@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
]
]
}
]
]
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Locators disappearing in LocatorPane (although working) "E. Martín-Serrano" <eMartinSerrano@telefonica.net> - 2012-01-22 12:33 +0000
csiph-web