Sunday, 29 October 2023

Write an R program to draw an empty plot and an empty plot specify the axes limits of the graphic. # Create an empty plot with specified axes limits-Bigdta-slip19

 

Write an R program to draw an empty plot and an empty plot specify the axes limits of the graphic.

# Create an empty plot with specified axes limits

plot(0, 0, type = "n", xlim = c(0, 10), ylim = c(0, 5), xlab = "X-axis", ylab = "Y-axis")

 

# Add a title to the plot

title("Empty Plot with Axes Limits")