title: Change scale of histogram in R
body: <p>My histogram has only one bin in it. How can I convert it in a way such that it has more bins?</p>
  
  <p>I would like to convert graph 2 in the attached image to something resembling graph 1, such that I see more bins.<img src="https://i.stack.imgur.com/OTstr.png" alt="enter image description here"></p>
  
  <p><strong>EDIT :</strong></p>
  
  <p>Upon doing <code>hist(df$FutureCost,main="Multicare Distribution of charges", xlab="Charge($)",breaks="FD",xlim=c(0,500000))</code>, I was able to get a better graph. Thanks to the replies. How can I convert the numbers 1e+05, 2e+05 etc to numbers like 100000, 200000 etc. 
  <img src="https://i.stack.imgur.com/LJN9I.png" alt="enter image description here"></p>