Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

Using mathematica to plot Histogram - frequence count of monthly data

Posted on 2011-09-23
Medium Priority
585 Views
I have the data below - how would I plot it so that each bin shows the total count for the monthly date?

{{{2009, 8, 3}, 18.}, {{2009, 9, 1}, 31.}, {{2009, 10, 1},
26.}, {{2009, 11, 2}, 30.}, {{2009, 12, 1}, 57.}, {{2010, 1, 4},
63.}, {{2010, 2, 1}, 55.}, {{2010, 3, 1}, 103.}, {{2010, 4, 1},
75.}, {{2010, 5, 3}, 237.}, {{2010, 6, 1}, 37.}, {{2010, 7, 1},
189.}, {{2010, 8, 2}, 267.}, {{2010, 9, 1}, 315.}, {{2010, 10, 1},
184.}, {{2010, 11, 1}, 139.}, {{2010, 12, 1}, 58.}, {{2011, 1, 3},
73.}, {{2011, 2, 1}, 74.}, {{2011, 3, 1}, 119.}, {{2011, 4, 1},
76.}, {{2011, 5, 2}, 142.}, {{2011, 6, 1}, 176.}, {{2011, 7, 1},
245.}, {{2011, 8, 1}, 927.}, {{2011, 9, 1}, 3.}}
0
Question by:John_2357
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 3

Accepted Solution

azserrata earned 1000 total points
ID: 36598584
Hi John

You might want to find out how to map functions to lists: http://reference.wolfram.com/mathematica/guide/ApplyingFunctionsToLists.html

In conjunction with a PLOT function like: http://reference.wolfram.com/mathematica/ref/BarChart.html

Sorry for not being much specific but I think a solution might come from there.

Cheers
David

0

LVL 1

Author Closing Comment

ID: 37047684
I was looking for some code. I have been to these sites and this link and I am unable to figure it out.
0

Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses
Course of the Month7 days, 19 hours left to enroll