Easy. To see what types you can do, check out the help:
It will show you how you can do bmp, jpg, png, and tiff.Code:?png
Check out this paper on fitting distributions. In particular, look at page 16 (the code for that plot is on page 15).
Check out the help for the histogram function:
I believe the parameter you are interested in is "breaks," and some examples are given. Another helpful page is here.Code:?hist
Bookmarks