MathGroup Archive 2001

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

Search the Archive

Re: BarChat notshowing

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27943] Re: BarChat notshowing
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Sat, 24 Mar 2001 15:15:46 -0500 (EST)
  • References: <99f88j$c4m@smc.vnet.net> <99hd3u$ebv@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Assuming that decimal[n] give a list of integers, and you load the package
before evaluating stat[100], then the code should work.
If the packagee was loaded after evaluating stat[100] you will need to
evaluate

Remove[BarChart]

then stat[100] should work correctly.



--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"cdes" <cdes43 at videotron.ca> wrote in message
news:99hd3u$ebv at smc.vnet.net...
> I'm trying to view a BarChart graphic and even if I did load the Graphic
> Add-On, The
> BarChart isn't showing. All it does is this:
>
> stat[n_] := BarChart[Table[ Length[Select[decimal[n], # == k &]], {k, 0,
> 9}]]
>
> In= stat[100]
>
> Out= BarChart[{7, 13, 11, 14, 9, 10, 13, 10, 9, 4}]
>
> What am I doing wrong???
> Mc
> kaoum at videotron.ca
>
>




  • Prev by Date: Registering an imported image with a plot
  • Next by Date: AspectRatio in ScatterPlot and Shadow
  • Previous by thread: BarChat notshowing
  • Next by thread: Importing figures