I would like to generate a plot as attached using SAS or R. Y-axis has a scale of 1 to 100 as a continuous value (with a break of 21 to 49) and X-axis has a categorical scale with two values.
I need to allocate 70% of the plot area to the bottom component (i.e. where values from 0-20 are plotted) and then 30% of the plot area to the top component (i.e. where values from 50 to 100 are plotted).
Is there any way, I can plot 3 different components i.e. 0-20, break for 21-49 and then 50 to 100
You could piece each together using gridExtra. And can tweak the zooming with either coord_cartesian() or the heights specification in grid.arrange()