Use the Golden Ratio when plotting figures in R.
In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities.
The ratio can also be expressed as a real number, approximately: 1.61803398875
Calculating the Golden Ratio:
GoldenRatio=(1+sqrt(5))/2
GoldenRatio
## [1] 1.618034
12x12
# square:
plot(iris$Sepal.Length, iris$Petal.Width, col = iris$Species)
12x(12/GoldenRatio)
# golden width to height
plot(iris$Sepal.Length, iris$Petal.Width, col = iris$Species)
(12/GoldenRatio)x12
# golden height to width
plot(iris$Sepal.Length, iris$Petal.Width, col = iris$Species)