I have a function
1.0 * (375 - 515) * exp(-0.01 * x) + 515
in which x
= time in milliseconds. I would like to draw that line in an R plot within a given range of x
(in my case between 80 and 250), with x
on the x-axis and a given range 800-300 on the y-axis (the intersection between the axes being where x = 80 and y = 800).
How can I do this?