Aman Tsegai shows some basic ways to customize R’s plot function:
We’re going to be using the cars dataset that is built in R. To follow along with real code, here’s an interactive R Notebook. Feel free to copy it and play around with the code as you read along.
So if we were to simply plot the dataset using just the data as the only parameter, it’d look like this:
plot(dataset)
The plot function is great for cases where you don’t much care how the visual looks, and the simplicity is great for throwaway visuals.