I want to add an axis to my histogram plot, I want the left one to be the absolute axis and the right one to be relative. I know how to plot those individually:
h = histogram(data);
h = histogram(data, 'Normalization', 'probability');
But I want to combine them. All approaches I found for using two axes assume I want two different things plotted, but I want one plot and only add the corresponding axis.