I want to plot part of geom_vline or geom_hline,codes as follows:
df <- data.frame(x=1:10,y=1:10)
plt <- ggplot(data=df)+
geom_point(aes(x=x,y=y))+
geom_vline(aes(xintercept=x[2]))+
geom_hline(aes(yintercept=y[2]))
I expect to display the left and lower part line as the cross point.
but there is no argument such as xlim or ylim in geom_vline

