Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg45805] Re: [mg45799] Stretching X-Axis in Plot[]
  • From: Selwyn Hollis <sh2.7183 at misspelled.erthlink.net>
  • Date: Mon, 26 Jan 2004 01:53:10 -0500 (EST)
  • References: <200401250804.DAA19404@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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