Data Science Desktop Survival Guide
by Graham Williams
Often a bit of trial and error is required to get the dimensions right. Notice though that increasing the fig.width= as we did for the previous plot, and/or increasing the fig.height=, effectively also reduces the font size. Actually, the font size remains constant whilst the figure grows (or shrinks) in size. Sometimes it is better to reduce the fig.width or fig.height to retain a good sized font.
The above plot was generated with the following knitr options.