How to add squares to the back of my R plot?

Viewed 37

I have a plot in R using the 'plot()' function.

My current plot

I would like to add a square backing to the plot (so that it looks like it is drawn on square paper), to help with readability. How can I do this? An example of what I mean would be the light gray lines seen is this desmos plot:

What I would like to see

Any suggestions? Thanks

0 Answers
Related