The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Categorical Violin Plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

colapili

France
3 Posts

Posted - 05/28/2020 :  05:06:09 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello everyone,

I would like to make a split violin plot but this function does not seem to be available for categorical data. is there any other solution (without having to transform my file) ?

Thank you

Nicolas

Edited by - colapili on 05/28/2020 05:08:43 AM

YimingChen

1666 Posts

Posted - 05/28/2020 :  09:33:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Nicolas,

To make a split violin plot, you need to select multiple columns with the last column with 2 categories only. Please attach your worksheet. Thank you.

James
Go to Top of Page

colapili

France
3 Posts

Posted - 05/28/2020 :  1:04:51 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello James,

Thank you for your help.


Time 	C1	        C2
T14	0,261000675	0,738999325
T8	0,231906546	0,768093454
T13	0,163293159	0,836706841
T13	0,195398051	0,804601949
T12	0,260871918	0,739128082
T14	0,268942812	0,731057188
T8	0,246488135	0,753511865
T13	0,215497246	0,784502754
T14	0,674182335	0,325817665
T14	0,285243249	0,714756751


My worksheet looks like this. I would like to split the C1 and C2 distribution according to time. But if I fully understand I must have a structure like this ?


T0  T4  T6  label

..  ..  ..  C1
..  ..  ..  C1
..  ..  ..  C2

Thank you

Nicolas

Edited by - colapili on 05/28/2020 1:06:53 PM
Go to Top of Page

lkb0221

China
497 Posts

Posted - 05/28/2020 :  3:08:23 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I can rearrange the data like this and start from the violin with box template, then set panels to read Col(A) to split the Time.
Go to Top of Page

colapili

France
3 Posts

Posted - 05/28/2020 :  3:45:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you James.

I've now the same data configuration (with stack function)

Sorry, I've tried but I can't get what you've got.

I had to select Categorical/ Grouped Violin-indexed
Data columns : C
Group columns : A or A and B ?

Horizontal panel/enable panel/by column(s)

I'm sorry I'm new on origin...

Nicolas
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000