Plot a function in a defined domain with R gnuton–myDocs–August 11, 2014 Quite basic stuff to achieve with R, but very useful!! > x <- c(1,5,10,50,100,500,1000) > y <- 1/sqrt(x) > plot(x,y) > curve(1/sqrt(x), add=TRUE) >