Wind_rose
Wind rose of direction and intensity
Author: M MA

Hi everyone. I've been using de wind_rose function for a few days and first of all, I must say it's awesome. But there is still one point that I can't fixe, maybe it cannot be fixed.

With the 'n' parameter, it's possible to change the number of directions subdivision. For example, 'n',8 will divided the 360 degrees into 8 similar parts (45 grads each time). But now, if I want it to be divided into 8 parts, but with different start and end points such as: 25:70,70:115,115:160, etc... How should I proceed?

Can you get my question ? Hope so ;)

I'd be really thankful if you could help me with this problem. Thanks a lot.

13 Nov 2012

Wind_rose
Wind rose of direction and intensity
Author: M MA

Yes, a box-plot shows the median and quartiles, etc, so can be asymmetric and what not. If that's what you want, then use the MATLAB boxplot function. This version is, as the name says, /not/, a box plot. It uses the mean and statistics relating to the mean. These produce symmetrical error bars. There is rationale to this and, TBH, this function is aimed more at replacing bar charts than at replacing box plots.
The rationale is that t-tests and ANOVA are often performed on data which are typically plotted as bar charts and sometimes box-plots. However, tests are based upon the mean, yet box-plots show the median. Bar charts are often found supplemented with errors bars displaying 1 standard error of the mean (1 SEM), which does not reflect the p=0.05 significance criterion often used in biology and the social sciences. The 95% confidence interval used here provides a visual indicator of significance. In most bar charts the raw data are not overlaid, which greatly reduces the utility of the plot as it hides the underlying data. Yet with carefully chosen plot options, which is facilitated by this function, it's often possible to plot all the raw data even for large numbers of groups. I believe that overlaid raw data are usually more informative than quartiles and whiskers of a box plot. Of course that's a personal preference.

I might be mistaken, but isn't the line in a boxplot supposed to be the median?
I tried this with my data and the box is always symmetrical, whereas using the matlab boxplot function one can see how unevently distributed the data is (well, one can see that from the single datapoints plotted by 'notboxplot' too).
is there a way to make the box behave "normally"?

Comment only