Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: [Q] Plotting non-continuous function
Replies: 1   Last Post: Jul 19, 1996 3:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Michael C. Herron

Posts: 2
Registered: 12/7/04
[Q] Plotting non-continuous function
Posted: Jul 12, 1996 12:05 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


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








Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.