Skip to content

raincloudplot

matlab_compat · scripts/matlab_compat/wave5/raincloudplot.m

: raincloudplot (ydata)
: raincloudplot (xgroupdata, ydata)
: r = raincloudplot (…)

Rain cloud plot (MATLAB R2026a).

Upper half: kernel-density (violin) outline via kde. Lower half: jittered swarm of the sample points. Replaces the prior silent stub that returned [] without drawing or erroring.

Decision (MATLAB R2026a, verified on this host):

  • raincloudplot() errors with MATLAB:narginchk:notEnoughInputs.
  • Non-numeric ydata errors with MATLAB:raincloudplot:invalidType.
  • Matrix ydata returns one object per column.
  • Default Orientation is "horizontal".
  • Return class is top-level RainCloudPlot (MATLAB uses matlab.graphics.chart.primitive.RainCloudPlot).