[Q] Plotting non-continuous function
- To: mathgroup at smc.vnet.net
- Subject: [mg4413] [Q] Plotting non-continuous function
- From: pherron at GSB-Pound.Stanford.EDU (Michael C. Herron)
- Date: Sun, 21 Jul 1996 22:39:15 -0400
- Organization: Graduate School Of Business, Stanford University
- Sender: owner-wri-mathgroup at wolfram.com
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
==== [MESSAGE SEPARATOR] ====