Mostly, I have used IMAGE_DPI=300 for all small graphs in the book. This generally produces good results. You can go…