Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Histogram ignores 'bspec' (bin spec) ??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126783] Re: Histogram ignores 'bspec' (bin spec) ??
  • From: Chris Degnen <degnen at cwgsy.net>
  • Date: Thu, 7 Jun 2012 05:19:41 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jqhr60$klr$1@smc.vnet.net> <jqkhbk$4kf$1@smc.vnet.net>

On Tuesday, June 5, 2012 9:52:04 AM UTC+1, I wrote:
> ... [So code] would be:
> 
> SeedRandom[1];
> foo = RandomVariate[NormalDistribution[0, 1], 1000];
> {fmin, fmax} = #@foo & /@ {Min, Max};
> ...

{fmin, fmax} = Through[{Min, Max}[foo]]

was what I meant.



  • Prev by Date: Re: Converting from string to real
  • Next by Date: Can Mathematica do regression, or similar?
  • Previous by thread: Re: Histogram ignores 'bspec' (bin spec) ??
  • Next by thread: Complex equation+ NDsolve