Boxplot with time on x axis

7 次查看(过去 30 天)
Does anybody know how to obtain a boxplot with time on the x axis?
I have collected experimental observations at irregular intervals over a period of time and would like my boxplot to have a linear time axis, however, the boxplot displays my results as 12 equally spaced boxplots. This wrongly implies that the observations were taken at regular intervals.
My y-data (observations) is in a matrix of 1836 rows and 12 columns (much of the data is blank, i.e., NaN). Each of the columns represents data collected at a different time and has been recorded in a vector of length 12.
Ideas?

采纳的回答

Craig Cowled
Craig Cowled 2013-2-27
Found the answer ...
Need to use 'positions' like this
boxplot(Y,'positions',X)

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by