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: Locators and Appearance
Replies: 1   Last Post: Dec 8, 2012 1:29 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
azzteke

Posts: 4
Registered: 6/5/07
Locators and Appearance
Posted: Dec 7, 2012 1:37 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello all,

this one works. I get three different Locators named a, b, c:

Manipulate[Graphics[{Opacity[.2], Polygon[pts]}, PlotRange -> 1.2],
{{q[1], .5, "L1"}, -1, 1}, {{q[2], -0.3, "L2"}, -1, 1},
{{q[3], 0.8, "L3"}, -1, 1}, {{pts, {{-.5, 0}, {1, 0}, {0, 1}}},
Locator, Appearance -> {a, b, c}},
TrackedSymbols :> {pts}]

This one does not work properly:

Manipulate[Graphics[{Opacity[.2], Polygon[pts]}, PlotRange -> 1.2],
{{q[1], .5, "L1"}, -1, 1}, {{q[2], -0.3, "L2"}, -1, 1},
{{q[3], 0.8, "L3"}, -1, 1}, {{pts, {{-.5, 0}, {1, 0}, {0, 1}}},
Locator, Appearance -> {q[1], q[2], q[3]}},
TrackedSymbols :> {pts}]

Thanks for any advice.
azzteke




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.