From: Jeff on 3 Dec 2009 06:20 I want to use Manipulate to slide the range of a Plot. I get jitters when an axis tick mark and associated number coincides with the frame edge. A simple example is: Manipulate[ Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, Frame -> True, Axes -> False], {s, 0, 20}] Anyone know how to stop the jitters?
From: dh on 4 Dec 2009 04:34 Jeff wrote: > I want to use Manipulate to slide the range of a Plot. I get jitters > when an axis tick mark and associated number coincides with the frame > edge. A simple example is: > > Manipulate[ > Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, > Frame -> True, Axes -> False], {s, 0, 20}] > > Anyone know how to stop the jitters? > Hi Jeff, you could e.g. use ImagePadding: Manipulate[ Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, Frame -> True, Axes -> False, ImagePadding -> 20], {s, 0, 20}] Daniel
From: Patrick Scheibe on 4 Dec 2009 04:35 Hi, you can try to make more space around the graphics to get rid of most of the jitter Manipulate[ Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, Axes -> False, Frame -> True, ImagePadding -> 30 ], {s, 0, 20}] Cheers Patrick On Thu, 2009-12-03 at 06:16 -0500, Jeff wrote: > I want to use Manipulate to slide the range of a Plot. I get jitters > when an axis tick mark and associated number coincides with the frame > edge. A simple example is: > > Manipulate[ > Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, > Frame -> True, Axes -> False], {s, 0, 20}] > > Anyone know how to stop the jitters? >
From: David Park on 4 Dec 2009 04:37 Use enough ImagePadding around the frame. Manipulate[Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, ImagePadding -> {{30, 10}, {20, 10}}, Frame -> True, Axes -> False], {s, 0, 20}] David Park djmpark(a)comcast.net http://home.comcast.net/~djmpark/ From: Jeff [mailto:jbwjbwjbw(a)gmail.com] I want to use Manipulate to slide the range of a Plot. I get jitters when an axis tick mark and associated number coincides with the frame edge. A simple example is: Manipulate[ Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, Frame -> True, Axes -> False], {s, 0, 20}] Anyone know how to stop the jitters?
From: Nasser M. Abbasi on 4 Dec 2009 04:37
"Jeff" <jbwjbwjbw(a)gmail.com> wrote in message news:hf86u0$1bc$1(a)smc.vnet.net... >I want to use Manipulate to slide the range of a Plot. I get jitters > when an axis tick mark and associated number coincides with the frame > edge. A simple example is: > > Manipulate[ > Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}}, > Frame -> True, Axes -> False], {s, 0, 20}] > > Anyone know how to stop the jitters? > add image padding: Manipulate[Plot[Sin[x],{x,s,s+10}, PlotRange->{{s,s+10},{-1,1}}, Frame->True, Axes->False, ImagePadding->10] ,{s,0,20} ] --Nasser |