Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. list={{{0., 0.}, {1., 0.}, {2., 0.}, {3., 0.}, {4., 0.}, {5., 1.}, {6.,
  2. 2.}, {7., 3.}, {8., 3.}, {9., 8.}, {10., 5.}, {11., 7.}, {12.,
  3. 23.}, {13., 11.}, {14., 8.}, {15., 10.}, {16., 2.}, {17.,
  4. 2.}, {18., 0.}, {19., 1.}, {20., 0.}, {21., 1.}}, {{}}, {{}}}
  5.  
  6. list = Partition[Flatten[list], 2];
  7.  
  8. BarChart[list[[All, 2]], PlotLabel -> "Number of Size",
  9. ChartLabels -> list[[All, 1]], ChartStyle -> "Pastel"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement