Re: How show Locator point and its image under a function?
- To: mathgroup at smc.vnet.net
- Subject: [mg79922] Re: How show Locator point and its image under a function?
- From: chuck009 <dmilioto at comcast.com>
- Date: Thu, 9 Aug 2007 05:11:07 -0400 (EDT)
Hello Murray, How about this: f[{x_, y_}] := {2 x + 1, y + 2}; DynamicModule[{pt1 = {1, 1}}, {LocatorPane[Dynamic[pt1], Framed@Graphics[{}, PlotRange -> {{0, 5}, {0, 5}}, Axes -> True]], Framed@Graphics[{}, PlotRange -> {{0, 5}, {0, 5}}, Axes -> True, Epilog -> {PointSize[Medium], Dynamic@Point[f[pt1]]}]}]