# the text box for the second curve cannot fit,
# as it is sandwiched between two curves that are too close
plot(xList1[[1]],yList1[[1]],type="l")
positionTextBoxDriverDriver(xList=xList1,yList=yList1,
textList=textList,xPos=c(1,1,1),nApprox=10,labs=labs,
stag=FALSE,offset=0,ystart=0,ylim=axesRange(yList1),verbose=TRUE)
Run the code above in your browser using DataLab