Open Plot Window of Specific Size in R & RStudio (Example Code)
In this tutorial, I’ll show how to create a manually defined graphic window in R.
Example: Opening Graphic Window of Particular Size in RStudio
plot.new() # Draw empty plot to RStudio window dev.new(width = 4, # Open new plot window height = 25, noRStudioGD = TRUE) plot(1:13) # Plotting data |
plot.new() # Draw empty plot to RStudio window dev.new(width = 4, # Open new plot window height = 25, noRStudioGD = TRUE) plot(1:13) # Plotting data