Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7137

Re: Change x-axis scale

From DrMajorBob <btreat1@austin.rr.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Change x-axis scale
Date 2011-12-12 11:44 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jc4pfi$cio$1@smc.vnet.net> (permalink)
References <201112110849.DAA29685@smc.vnet.net>

Show all headers | View raw


Plot[PDF[NormalDistribution[0, 1], x], {x, -4, 4},
  Axes -> {True, False}, Ticks -> {Range[-4, 4], None}]

Bobby

On Sun, 11 Dec 2011 02:49:34 -0600, Scott Colwell <srcolwell@gmail.com>  
wrote:

> Hi There,
>
> I have been looking for about two hours for how to change the x-axis in  
> the following plot of a normal distribution.  I must be going blind  
> because I can't find it.
>
> Plot[PDF[NormalDistribution[0, 1], x], {x, -4, 4},
>  Axes -> {True, False}]
>
> This plots the x-axis with -4, -2, 0, 2, 4
>
> What I want is the scale to go from -4 to 4 by 1,
> so -4, -3, -2, -1, 0, 1, 2, 3, 4
>
> Could someone please give me a hand with this.
>
> Thanks,
>


-- 
DrMajorBob@yahoo.com

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Change x-axis scale DrMajorBob <btreat1@austin.rr.com> - 2011-12-12 11:44 +0000

csiph-web