Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12677

Locators and Appearance

From azzteke <klaus.giesselmann@web.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Locators and Appearance
Date 2012-12-07 06:37 +0000
Message-ID <k9s2r5$mos$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Locators and Appearance azzteke <klaus.giesselmann@web.de> - 2012-12-07 06:37 +0000
  Re: Locators and Appearance "Nasser M. Abbasi" <nma@12000.org> - 2012-12-08 06:29 +0000

csiph-web