Unfortunately I cannot sent you the dataset due to ethical reasons but I am trying to create a catplot
of categorical variables. All the categorical variables are Likert responses.
There are 18 of them labelled: psq1 psq2 psq3 psq4 psq5 psq6 psq7 psq8 psq9 psq10 psq11 psq12 psq13 psq14 psq15 psq16 psq17 psq18
If you look on graph.png that is how psq1
looks on a catplot using the code:
catplot psq7 , asyvars stack percent over( psq_pubpriv) percent
I want to move the public and private bars so that they are horizontal to each other and then stack all the psq
on top of each other with the same axes. This is shown in psq.png.
Another issue is that the title gets cut off of the y-axis label. I would like to make that text wrap and appear in two lines so it is all visible.
I would also want to change the color scheme, so that agree and strongly agree are shades of green, strongly disagree and disagree are shades of red and uncertain is blue