Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7920
| From | Tomas Garza <tgarza10@msn.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: plotting histograms with do loop |
| Date | 2012-01-17 08:42 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jf3cae$nhp$1@smc.vnet.net> (permalink) |
| References | <201201162213.RAA15471@smc.vnet.net> |
Hi,
Do[Print@Histogram[RandomReal[NormalDistribution[0, i], 500]], {i, 1, 5}]
-Tomas
> Date: Mon, 16 Jan 2012 17:13:18 -0500
> From: hanciong@gmail.com
> Subject: plotting histograms with do loop
> To: mathgroup@smc.vnet.net
>
> hello all, I want to plot several histograms with do-loop. It is
> histogram of normal distribution, all with mean zeros, and standard
> deviation successively increasing from 1 to 5. I do the following:
>
> Do[ Histogram[RandomReal[NormalDistribution[0, i], 500]],
> {i, 1, 5} ]
>
> But it doesn't give anything. could anyone help me? Thanx
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: plotting histograms with do loop Tomas Garza <tgarza10@msn.com> - 2012-01-17 08:42 +0000
csiph-web