Plotting Locators with Color
- To: mathgroup at smc.vnet.net
- Subject: [mg118078] Plotting Locators with Color
- From: Bill <WDWNORWALK at aol.com>
- Date: Tue, 12 Apr 2011 05:54:19 -0400 (EDT)
Hi: I'm using Mathematica 8.0.1. on a PC with the following code: Manipulate[ LocatorPane[pts; Dynamic@pts, Dynamic@Graphics[{Spline[pts, Bezier]}, Axes -> True, AxesLabel -> {x, y}, PlotRange -> {{-3, 3}, {-3, 3}}, Background -> LightOrange]], {{pts, {{0, 0}, {0, 2}, {2, 0}, {2, 2}}}, {-3, -3}, {3, 3}, ControlType -> None}, SaveDefinitions -> True, Initialization :> {Needs["Splines`"]}, AutorunSequencing -> {2}] How can I plot this with each locator plotted in a different color? Thanks, Bill