Re: Manipulate Issue - resend with code
- To: mathgroup at smc.vnet.net
- Subject: [mg99639] Re: Manipulate Issue - resend with code
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Sun, 10 May 2009 05:14:25 -0400 (EDT)
- References: <gu3arm$t7i$1@smc.vnet.net>
Hi Kevin,
Just add the option PerformanceGoal -> "Quality" to the ContourPlot.
Note that this may make the dragging action of the slider a less
interactive experience.
Cheers -- Sjoerd
On May 9, 9:20 am, "Kevin J. McCann" <k... at KevinMcCann.com> wrote:
> Below is the "Neat Example" from the Manipulate Help. My issue is that
> when one of the charges is dragged around, the contour plot is really
> crummy, i.e. very low res, until you take your finger off the mouse.
> Similarly when the manipulate is allowed to run movie-style. Any ideas
> about how to get this to "look nice"?
>
> Thanks,
>
> Kevin
>
> Manipulate[
> ContourPlot[
> q1/Norm[{x, y} - p[[1]]] + q2/Norm[{x, y} - p[[2]]], {x, -2,
> 2}, {y, -2, 2}, Contours -> 10], {{q1, -1}, -3, 3}, {{q2, 1}, -3,
> 3}, {{p, {{-1, 0}, {1, 0}}}, {-1, -1}, {1, 1}, Locator},
> Deployed -> True]