Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



[Q] Plotting noncontinuous function
Posted:
Jul 12, 1996 12:05 AM


Suppose I have defined:
f[x_] := Which [x<=5,2,True,10]
If I then do Plot [f[t],{t,0,20}], the resulting graphic has a vertical line at x=5. Is there anyway to avoid this? Ideally, I would like the plot to have an open ball on the line y=2 and a closed ball at y=10 to indicate that the function at x=5 has a limit from the right but not from the left. Is it possible to do this? If the answer is in a mathematica book, I would like a reference.
Thanks.
Michael



