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


Groups > comp.soft-sys.math.mathematica > #7140 > unrolled thread

Re: Change x-axis scale

Started byTomas Garza <tgarza10@msn.com>
First post2011-12-12 11:43 +0000
Last post2011-12-12 11:43 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Change x-axis scale Tomas Garza <tgarza10@msn.com> - 2011-12-12 11:43 +0000

#7140 — Re: Change x-axis scale

FromTomas Garza <tgarza10@msn.com>
Date2011-12-12 11:43 +0000
SubjectRe: Change x-axis scale
Message-ID<jc4pdl$chb$1@smc.vnet.net>
Try this:Plot[PDF[NormalDistribution[0, 1], x], {x, -4, 4},  Ticks -> {{-4, -3, -2, -1, 0, 1, 2, 3, 4}, None},  Axes -> {True, False}]
-Tomas

> Date: Sun, 11 Dec 2011 03:49:34 -0500
> From: srcolwell@gmail.com
> Subject: Change x-axis scale
> To: mathgroup@smc.vnet.net
>
> 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,
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web