New answers tagged

3

You may use Reap and Sow with the functional height syntax of DateHistogram. {dh, {{bins, counts}}} = Reap[DateHistogram[data, "Day", Function[{b, c}, Sow[b]; Sow[c]]]]; Show[dh, DateListPlot[Select[Last@# != 0 &]@Transpose@{Mean /@ bins, counts}]] This uses the functional height syntax to return the bins and counts that DateHistogram has ...


3

You want some kind of DateHistogramList function that works like HistogramList does, but I don't see an option for it. Without that, you could just extract the coordinates for the tops of the Rectangles in the histogram. histogramDatelistplot = Cases[histogram, Rectangle[{x1_, y1_}, {x2_, y2_}, __] | RectangleBox[{x1_, y1_}, {x2_, y2_}, __] :&...


4

You can get both as one Historam with custom right FrameTicks: ticks = Join[ Transpose[{#, ConstantArray[Null, Length@#]}] &@Range[0, 42, 2], {#, N@#/Length@Tabla} & /@ Range[0, 40, 10]] /. (0.) -> 0 Histogram[Tabla, Frame -> {{True, True}, {True, False}}, FrameLabel -> {{"frequĂȘncia", "frequĂȘncia relativa"}, {"tempo (s)", None}}, ...


3

I can't imagine any case where this would be the best option, but no one has mentioned SectorChart yet - where I use equal theta bins, and radius indicates percentage. The only benefit I see is you can compare percentages within a sublist easily. GraphicsGrid[ Partition[ SectorChart[Transpose@{ConstantArray[1, Length@Rest@#], Rest@#}, PlotLabel -&...


6

The data in the question presents a good case for visualization with Chernoff faces. For that data, actually, the Chernoff faces work "out of the box" pretty well! Make faces Load Chernoff faces plotting package: Import["https://raw.githubusercontent.com/antononcube/\ MathematicaForPrediction/master/ChernoffFaces.m"] As it is explained in the question ...



Top 50 recent answers are included