From: Jeff on
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


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
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
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

"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