MathGroup Archive 2004

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

Search the Archive

Re: Stretching X-Axis in Plot[]


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
http://www.math.armstrong.edu/faculty/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[]