Re: Plotting Problem
- To: mathgroup at smc.vnet.net
- Subject: [mg17515] Re: [mg17474] Plotting Problem
- From: "Andrzej Kozlowski" <andrzej at tuins.ac.jp>
- Date: Mon, 10 May 1999 19:53:20 -0400
- Sender: owner-wri-mathgroup at wolfram.com
There is no difference. I suspect you evaluated <<Statistics`ContinuousDistributions` and Plot[PDF[NormalDistribution[0,1],x],{x,-2,2}] inside the same cell. First evaluate <<Statistics`ContinuousDistributions` then in a new cell Plot[PDF[NormalDistribution[0,1],x],{x,-2,2}] and I am (almost) sure it will work fine. -- Andrzej Kozlowski Toyama International University JAPAN http://sigma.tuins.ac.jp http://eri2.tuins.ac.jp ---------- >From: bcolletti at mail.utexas.edu (Bruce W. Colletti) To: mathgroup at smc.vnet.net >To: mathgroup at smc.vnet.net >Subject: [mg17515] [mg17474] Plotting Problem >Date: Sun, May 9, 1999, 5:44 PM > > Re Mathematica 3.0 (Windows 95). > > In response to... > > <<Statistics`ContinuousDistributions` > Plot[PDF[NormalDistribution[0,1],x],{x,-2,2}] > > ...the message appears "plot: plnr: PDF[NormalDistribution[0,1],x] is not > a machine-size real number at x = 0.1696...?" > > What am I doing wrong? Everything works well (a graph is produced) for: > > <<Statistics`ContinuousDistributions` > Plot[CDF[GammaDistribution[3,1],x],{x,0,10}] > > > Why does Mathematica fail to graph in one but not the other? > > Thanks. > > Bruce >