# Example 1
<- 1:10
x <- x^2
y plot(x, y, main = "Quadratic Function", xlab = "X", ylab = "Y")
# Example 2
<- data.frame(Time = 1:10, Value = cumsum(rnorm(10)))
df plot(df$Time, df$Value, main = "Cumulative Sum", xlab = "Time", ylab = "Cumulative Value")