If i understand correctly, you want to zoom in and out in the graphics device (window) and not zoom the plot itself, as is shown here Limit ggplot2 axes without removing data (outside limits): zoom
Probably you're best bet is still the zoom
package. This package has several functions that may be useful to you, like inout.zoom()
and sq.zoom()
. If this doesn't work for you, please be more specific of what it doesn't do.
R-studio
offers some options:
1. There is a zoom button above the plot window, that shows the graph in a bigger window. I some cases this will be enough, however in your case it will not be because you have many points cluttered together.
2. In R-studio
, press EXPORT-SAVEtoPDF-PREVIEW. This will open a preview in acrobat reader where you can zoom in and out as much as you like.