Is it possible to plot the following function with R?
$$\lim\limits _{x\to3^{+}}\, f(x)=2$$
$$\lim\limits _{x\to3^{-}}\, f(x)=1$$
Basically, I would like to see a plot with 2 curves. If possible how to make some circle (black or white) at the end of the curves… ?
Thank you
Define a piecewise continuous function:
Plot the first part of it, reserving enough space to plot the rest:
Add the second part:
Add a little open circle:
Result:
