MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Manipulate jitter

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105471] Re: Manipulate jitter
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Fri, 4 Dec 2009 04:31:58 -0500 (EST)
  • References: <hf86u0$1bc$1@smc.vnet.net>

Him

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

Use a constant value for ImagePadding which is large enough for all tick
values:

Manipulate[
 Plot[Sin[x], {x, s, s + 10}, PlotRange -> {{s, s + 10}, {-1, 1}},
  Frame -> True, Axes -> False, ImagePadding -> 20], {s, 0, 20}]

you probably need to adopt the value for ImagePadding...

hth,

albert


  • Prev by Date: Re: Manipulate jitter
  • Next by Date: Set correctly the Properties for print
  • Previous by thread: Re: Manipulate jitter
  • Next by thread: Re: Manipulate jitter