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


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

Plotting Locators with Color

From Bill <WDWNORWALK@aol.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Plotting Locators with Color
Date 2011-04-12 09:52 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <io17da$i4a$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

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


Thread

Plotting Locators with Color Bill <WDWNORWALK@aol.com> - 2011-04-12 09:52 +0000
  Re: Plotting Locators with Color Peter Pein <petsie@dordos.net> - 2011-04-13 09:54 +0000
  Re: Plotting Locators with Color "Alexander Elkins" <alexander_elkins@hotmail.com> - 2011-04-14 09:00 +0000

csiph-web