Histogram
- To: mathgroup at smc.vnet.net
- Subject: [mg103600] Histogram
- From: Claus <clausenator at gmail.com>
- Date: Tue, 29 Sep 2009 07:41:07 -0400 (EDT)
- Organization: Comp.Center (RUS), U of Stuttgart, FRG
Hi, I haven't used the Histogram in v.7 until today. It seems like in my setup both the function is not recognized (whenever I write "Histogram" it turns red) as well as options introduced in v.7 turn red ("ChartElements" for example). Two more associated problems: - novel features don't work: data1 = RandomReal[NormalDistribution[0, 1], 50]; data2 = RandomReal[NormalDistribution[3, 1/2], 50]; Histogram[{data1, data2}] returns the following arrays, but no chart Histogram[{{0.781332, 1.57135, 0.114981, 1.36426, 0.755184, -0.798411, 0.194936, 0.459886, 0.661552, -0.638467, -0.396901, -1.31856, -1.86126, 0.465915, -1.4262, 0.542278, 0.116775, 0.316415, 1.39056, -0.935339, -0.77062, 0.494654, -0.877181, 0.650337, -0.0759794, 1.31853, -0.780237, -0.664432, -0.426995, 0.251381, 0.384724, -1.10738, 0.501823, -0.545042, 0.441527, 0.215406, -1.94724, 0.0407041, -1.12476, 0.835061, 1.32245, -0.0251475, -1.23501, -0.735629, -0.464289, -1.87202, 0.888276, -0.809419, -1.02323, 0.0754422}, {2.79588, 2.89005, 3.1231, 3.48026, 2.66732, 2.43219, 4.03511, 3.26485, 3.26647, 3.63344, 2.09219, 2.81154, 2.97971, 3.65996, 2.57309, 2.63087, 2.73979, 2.85751, 2.27319, 3.04773, 2.25371, 2.91204, 1.91868, 3.14677, 2.85839, 2.57733, 2.33141, 2.6784, 3.47593, 2.1515, 3.61974, 2.57847, 2.88639, 2.23031, 2.91136, 3.39069, 2.08531, 2.66072, 2.60716, 2.65038, 3.20426, 2.03296, 3.21672, 3.08131, 3.56257, 2.9708, 2.752, 3.55902, 2.67738, 3.73891}}] - the options of Histogram seem not to be identical with what is described in the help of v.7 In[420]:= Options[Histogram] Out[420]= {ApproximateIntervals -> Automatic, BarEdges -> True, BarEdgeStyle -> GrayLevel[0], BarOrientation -> Vertical, BarStyle -> Automatic, FrequencyData -> False, HistogramCategories -> Automatic, HistogramRange -> Automatic, HistogramScale -> Automatic, AlignmentPoint -> Center, AspectRatio -> 1/GoldenRatio, Axes -> True, AxesLabel -> None, AxesOrigin -> Automatic, AxesStyle -> {}, Background -> None, BaselinePosition -> Automatic, BaseStyle -> {}, ColorOutput -> Automatic, ContentSelectable -> Automatic, CoordinatesToolOptions -> Automatic, Epilog -> {}, Frame -> False, FrameLabel -> None, FrameStyle -> {}, FrameTicks -> Automatic, FrameTicksStyle -> {}, GridLines -> None, GridLinesStyle -> {}, ImageMargins -> 0., ImagePadding -> All, ImageSize -> Automatic, ImageSizeRaw -> Automatic, LabelStyle -> {}, Method -> Automatic, PlotLabel -> None, PlotRange -> All, PlotRangeClipping -> True, PlotRangePadding -> Automatic, PlotRegion -> Automatic, PreserveImageOptions -> Automatic, Prolog -> {}, RotateLabel -> True, Ticks -> Automatic, TicksStyle -> {}, DisplayFunction :> $DisplayFunction, FormatType :> TraditionalForm} Is it true that I think this is before v.7 or does this all seem ok to you? Could there somewhere be old "definitions" of functions in my system??? I was going through $UserBaseDirectory, but couldn't find anything that seems to be related to Histogram... What am I doing wrong? Do I need to add a package? I thought this is not necessary anymore in v.7... I am running v.7.0.0 (should I update??) on OSX 10.5.8 Thanks for your help, Cheers, Claus