boxplot the data of the y-axis of a scatter plot using matlab

醉酒当歌 提交于 2019-12-24 02:56:25

问题


What I basically want to do is to have boxplots for one data set on a scatter plot using Matlab.
We can do the scatter plot with scatter(X, Y) and instead of the points corresponding to Y, I would like to have boxplots.
Something like scatter(X, (boxplot(Y)) - which of course does not work.

Have been searching high and low but could not find a relevant answer, or even something similar.

The scatter-points from the left-hand side have to be replaced with box plots as on the right:

来源:https://stackoverflow.com/questions/17356734/boxplot-the-data-of-the-y-axis-of-a-scatter-plot-using-matlab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!