MathGroup Archive 2009

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

Search the Archive

Re: Manipulate jitter

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105467] Re: Manipulate jitter
  • From: Helen Read <hpr at together.net>
  • Date: Fri, 4 Dec 2009 04:31:13 -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?

Add some ImagePadding.

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

--
Helen Read
University of Vermont


  • Prev by Date: Flatten alternative
  • Next by Date: Re: Manipulate jitter
  • Previous by thread: Re: Manipulate jitter
  • Next by thread: Re: Manipulate jitter