Creating a figure with multiple raincloud plots with the same y-axis
14 次查看（过去 30 天）
I have made 4 raincloud plots which are subplotted as one image (attached image). However, I would like to have one x-y graph, with the 4 raincloud plots adjusted as one on top of the other, whereby the y-axis will not have the y values but they will identified the 4 groups.
William Rose 2022-11-28
It would help if you woudl provide a drawing or other image of what you want.
It would also help if you attach the code you use to make the raincloud plot.
mu=[5 5.5 6]'; sigma=[.5 .45 .55]';
x2 = [x, fliplr(x)];
inBetween = [base, fliplr(yoff)];
set(gca,'YTickLabel',); %erase the numbers on y axis
Thank you to @Image Analyst for the code to shade between two plots.
Try it. Good luck.