fork download
  1. sysuse sp500, clear // Load example data
  2. histogram open, ///
  3. frequency /// Frequency instead of density
  4. width(50) /// Bin width
  5. start(0) /// Start point
  6. normal /// Overlay normal curve
  7. addlabels /// Show values
  8. color(blue%50) /// Transparent color
  9. title("Histogram of Open Prices") ///
  10. xtitle("Opening Price") ///
  11. ylabel(, grid) // Add grid lines
  12.  
Success #stdin #stdout 0.03s 25536KB
stdin
Standard input is empty
stdout
sysuse sp500, clear // Load example data
histogram open, ///
    frequency /// Frequency instead of density
    width(50) /// Bin width
    start(0) /// Start point
    normal /// Overlay normal curve
    addlabels /// Show values
    color(blue%50) /// Transparent color
    title("Histogram of Open Prices") ///
    xtitle("Opening Price") ///
    ylabel(, grid) // Add grid lines