![](/profiles/wavemetrics/themes/wavemetrics/logo.png)
Box and Whisker Plot of selected data
![](/sites/default/files/styles/thumbnail/public/default_images/Artboard%201_1.png?itok=jeHOCIXy)
thiago.nogueira
I am a basic user of Igor, but unfortunately I have no skill in programing.
I use Igor to calculate percentile and make box and whisker plot for the whole dataset. But, I was wondering if is possible I use the "Wave Percentile" to calculate percentile for an interval. For instance, as in data attached, can I calculate de percentile for data at each day, I mean, percentile for data of 24h, for month, etc..
Many thanks
Thiago
Yes, you can use the fWavePercentile function, as long as you select the data that you want. The Extract function may be your best friend.
Below is a code to calculate the hourly distribution of a dataset (for a box and whisker plot, p1 to p5 should be 10, 25, 50, 75 and 90)
Hope this helps a bit
Cheers
J-E
On your dataset, it gives the enclosed image.
May 3, 2017 at 12:31 am - Permalink
Dear J-E, many thanks for your reply.
I am trying to run the function Diurnal_distrib(timeline,data,p1,p2,p3,p4,p5), but the sintax error appears: expected wave name. Should I create timeline and data wave before? This is not clear for me...
This diurnal distribution will be very useful for me, but I was thinking about the calculation of percentile for each day, as in figure attached. I did this manually, and this took me many efforts. What I should change in this procedure?
Thank you again.
Thiago
May 3, 2017 at 08:19 am - Permalink