I have a panel containing three plots. How can I use par
to specify the width and height of the main panel so it is always at a fixed size?
I usually set this at the start of my session with windows.options
:
windows.options(width=10, height=10)
# plot away
plot(...)
If you need to reset to "factory settings":
dev.off()
windows.options(reset=TRUE)
# more plotting
plot(...)