Nov-08-2021, 01:50 PM
Hello,
I would like to make a plot according to 3 variables. I have a database that includes several theatrical performances at the Comédie-Français. The three variables in question are 'acts' (number of acts in the play: 1, 3 or 5), 'genre' (comedy / tragedy), and 'verse / prose'.
I would like to make three graphs, one for the 1 act plays, one for the 3 act plays and one for the 5 act plays. On each plot, there would be the number of pieces played according to their genre and nature (verse / prose). I would like the graph (for one-act pieces for example) to look like the attachment Plot Want.
Where the two colors (red and green) represent 'verse' and 'prose'.
For the moment I only manage to include 'vers / prose' according to the number of acts, which gives the image Plot Have
But as soon as I try to add another variable ('genre'), it doesn't work...
You will find the notebook on my GitHub: https://github.com/MathisGitHub/La-Comed...021---1432
This is entry 107.
Do you have any idea how to do this?
I thank you in advance
I would like to make a plot according to 3 variables. I have a database that includes several theatrical performances at the Comédie-Français. The three variables in question are 'acts' (number of acts in the play: 1, 3 or 5), 'genre' (comedy / tragedy), and 'verse / prose'.
I would like to make three graphs, one for the 1 act plays, one for the 3 act plays and one for the 5 act plays. On each plot, there would be the number of pieces played according to their genre and nature (verse / prose). I would like the graph (for one-act pieces for example) to look like the attachment Plot Want.
Where the two colors (red and green) represent 'verse' and 'prose'.
For the moment I only manage to include 'vers / prose' according to the number of acts, which gives the image Plot Have
But as soon as I try to add another variable ('genre'), it doesn't work...
You will find the notebook on my GitHub: https://github.com/MathisGitHub/La-Comed...021---1432
This is entry 107.
Do you have any idea how to do this?
I thank you in advance






