Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raicloud plot matlab #65

Open
eleonora-mont opened this issue Nov 29, 2022 · 1 comment
Open

Raicloud plot matlab #65

eleonora-mont opened this issue Nov 29, 2022 · 1 comment

Comments

@eleonora-mont
Copy link

Hello,

Thanks for this great resource. I am using the tutorial for Matlab which works fantastic, but I made these figures:
image
To make these, this is the part of the code I have used:

f3 = figure('Position', fig_position);
subplot(2, 2, 1)
h1 = raincloud_plot(d{1}, 'box_on', 1, 'color',[0.2 0.67 0], 'MarkerFaceColor', [0.2 0.67 0]);
title('Visit 1');
set(gca, 'XLim', [300 1400]);
box off
subplot(2, 2, 2)
h2 = raincloud_plot(d{2}, 'box_on', 1,'color',[1 0.26 0], 'MarkerFaceColor', [1 0.26 0]);
title('Visit 2');
set(gca, 'XLim', [300 1400]);
box off
subplot(2, 2, 3)
h3 = raincloud_plot(d{3}, 'box_on', 1,'color', [0.63 0 1], 'MarkerFaceColor', [0.63 0 1]);
title('Visit 3'); %
set(gca, 'XLim', [300 1400]);
box off
subplot(2, 2, 4)
h4 = raincloud_plot(d{4}, 'box_on', 1,'color', [0.01 0.42 1], 'MarkerFaceColor', [0.01 0.42 1]);
title('Visit 4');
set(gca, 'XLim',[300 1400]);
box off

However, I would want those individual plots to be within the same graph as the following:
image

Am I missing the part of the code in the matlab tutorial script or has it not been provided just yet? In this case, would you have any suggestion for me to make the plots as the last image?

Thanks so much,
Eleonora

@njudd
Copy link
Contributor

njudd commented Apr 23, 2023

Matlab is no longer supported, if you can get it to work & update the tutorial we would be happy to add it! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants