Re: Manipulate jitter
- To: mathgroup at smc.vnet.net
- Subject: [mg105480] Re: Manipulate jitter
- From: dh <dh at metrohm.com>
- Date: Fri, 4 Dec 2009 04:33:40 -0500 (EST)
- References: <hf86u0$1bc$1@smc.vnet.net>
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