I would like to plot a bar chart exactly like the on in the picture below.
What I am not able to do is to plot 2 sets of data, one on the left-hand side of the "0" and the one on the right-hand side respectively, using each one a different scale on the x-axis. Using the function barh
there are instructions about how to move the baseline, but in this case there are 2 sets of different data with different scales.
As example, I am trying to plot the following arrays:
left = [.1; .5; .4; .6; .3]; % Scale 0-1, grows leftwards
right = [24; 17; 41; 25; 34]; % Scale 0-35, grows rightwards
Any hints please?