title: Change histogram to curve in Matlab but not "fit"
body: <p>I am using matlab to process data to get a radius distribution function. Now I get data(an array) of different distances of other atoms to 1 specific atom.
  I used the "hist" command (hist(radius1,400)) and get a histogram:</p>
  
  <p>But what I want is a curve, like this:
  <a href="http://upload.wikimedia.org/wikipedia/commons/3/31/Lennard-Jones_Radial_Distribution_Function.svg" rel="nofollow">http://upload.wikimedia.org/wikipedia/commons/3/31/Lennard-Jones_Radial_Distribution_Function.svg</a></p>
  
  <p>I tried some fit command, but it would give me a normal-distribution-like curve, which is not what I want. actually no fit is fine, I only want a curve to show its varying.</p>
  
  <p>The raw data was a 4000*1 array of radius, is there any other way to get a curve of the top of each bar of the histogram?</p>
  
  <p>Thanks so much. </p>