# Item Resizing when using Locators

I am having some difficulty in resizing a Stream Plot when using locators: Whenever I try to resize the Stream Plot, one of the locators instead moves to the cursor.

Manipulate[{StreamPlot[{(
q1 (x - p[[1]]))/((x - p[[1]])^2 + (y - p[[2]])^2)^(3/2) + (
q2 (x - q[[1]]))/((x - q[[1]])^2 + (y - q[[2]])^2)^(3/2), (
q1 (y - p[[2]]))/((x - p[[1]])^2 + (y - p[[2]])^2)^(3/2) + (
q2 (y - q[[2]]))/((x - q[[1]])^2 + (y - q[[2]])^2)^(3/2)}, {x, 0,
10}, {y, 0, 10}, PlotRange -> {0, 10}]},
{{p, {1, 1}}, Locator}, {{q, {1, 1}}, Locator}, {q1, -4, 4}, {q2, -4,4}]


How can I rectify this behaviour?

• resize? why not add an manipulator about ImageSize May 30 '13 at 13:54
• that's what locators do -- they go to the cursor. Just add ImageSize->500 (or whatever size you want) or control the size with a slider if you want it dynamic. I would also remove the brackets around the StreamPlot -- no need for them in the plot. May 30 '13 at 14:25

Manipulate[