Change x-axis scale
- To: mathgroup at smc.vnet.net
- Subject: [mg123572] Change x-axis scale
- From: Scott Colwell <srcolwell at gmail.com>
- Date: Sun, 11 Dec 2011 03:49:34 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Reply-to: comp.soft-sys.math.mathematica at googlegroups.com
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,
- Follow-Ups:
- Re: Change x-axis scale
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: Change x-axis scale
- From: Tomas Garza <tgarza10@msn.com>
- Re: Change x-axis scale
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Change x-axis scale
- From: Heike Gramberg <heike.gramberg@gmail.com>
- Re: Change x-axis scale
- From: David Annetts <david.annetts@iinet.net.au>
- Re: Change x-axis scale