Tutorial of Scatter Plot in Base R Language

Example 1: Basic Scatterplot in Base R

Let us start with a very basic scatter plot in R where we just pass the x and y parameters to the plot() function without any other options.

In [2]:
plot(x, y)
Scatter Plot in R Example

In [4]:

plot(x, y, main = "Sepal length v/s Petal Length", 
xlab = "Sepal length", ylab = "Petal Length", frame=FALSE)


Scatter Plot in R Example - 3

  • Veer Kumar

    I am passionate about Analytics and I am looking for opportunities to hone my current skills to gain prominence in the field of Data Science.

    View all posts

Follow Us

Leave a Reply

Your email address will not be published. Required fields are marked *