How do i plot annual histograms where year(x axis) and rainfall(y-axis)?

10 views (last 30 days)
I want to plot the years on x-axis and rainfall on y-axis. I can't seem to get the dates right.I need it to be annual at the end, so the three points avarage rainfall will be plotted in 2013.I am not sure how can i bring the dates to Matlab from excel that will allow me to plot the histogram in such manner. Any help/Advice is much appriciated.Thank you!
  2 Comments
BN
BN on 23 Dec 2019
Edited: BN on 23 Dec 2019
Hey flora,
If I understood your purpose right, do you want plot cumulative rainfall for the year 2013?
so you want to have 3 points in the plot, which each of them represents cumulative rainfall in each climate station?
Flora
Flora on 23 Dec 2019
Hi Navidi,
Yes something similar. I want the final three points to be average of each station. I am mostly struggling to arrange the dates so that i can plot the graph

Sign in to comment.

Answers (1)

Dinesh Yadav
Dinesh Yadav on 26 Dec 2019
Edited: Dinesh Yadav on 26 Dec 2019

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!