Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Stretching X-Axis in Plot[]

  • To: mathgroup at
  • Subject: [mg45805] Re: [mg45799] Stretching X-Axis in Plot[]
  • From: Selwyn Hollis <sh2.7183 at>
  • Date: Mon, 26 Jan 2004 01:53:10 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

Not exactly sure what you're after, but some combination of PlotRange, 
AspectRatio, and ImageSize should do it; e.g.,

Plot[Sin[10*x], {x, 0, 2*Pi}, PlotRange -> {{-Pi,3*Pi},Automatic},
    AspectRatio -> Automatic, ImageSize -> 500]

Selwyn Hollis
(edit reply-to to reply)

On Jan 25, 2004, at 3:04 AM, Harold Noffke wrote:

> MathGroup:
> I have a function I want to Plot between 0.5 and 1.0 with a "stretched
> out" x-axis.  I want to put a "horizontal magnifying glass" on the
> function between 0.65 and 0.75, because it wiggles a lot in this part
> of its domain.
> I tried to find a Plot option which allows the x-axis to stretch
> horizontally across the screen.  I experimented with AspectRatio ->
> 10, and found I could do y-axis (Range) stretch with no problem.  But
> when I tried AspectRatio -> 0.1, the y-axis collapsed, and the x-axis
> did not stretch at all.
> I'm stumped.  I can't find an x-axis stretching option that produces
> more on-screen horizontal plot details.
> Does anyone know a way to stretch the x-axis in Mathematica Plots?
> Regards,
> Harold

  • Prev by Date: Re: [Outer [Times, , ] ] Question
  • Next by Date: Re: Stretching X-Axis in Plot[]
  • Previous by thread: Stretching X-Axis in Plot[]
  • Next by thread: Re: Stretching X-Axis in Plot[]