MATLAB: How to normalize a histogram

histogramrelative frequency

I am having an incredible amount of difficulty in finding a direct answer to this question. I have an array S that is 300×1. Using histogram(S) I obtain the following histogram:
This histogram is exactly what I need except for one problem. I want this to be a relative frequency histogram. As in, I want the y-axis values to be a percentage of the total number of data points (300). For example, the bin between 0.5 and 0.6 is approximately 73, so I would want it to read as (73/300) or 0.243.
I have seen many answers to this type of question telling users to use the hist function and then create a bar graph. I do not want a bar graph. I want the x-axis to remain unchanged as the actual data values, NOT as bin numbers. Can anyone help? Thanks!