Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

[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] ====


  • Prev by Date: Re: BarChart3D styles
  • Next by Date: a question on ContourPlot
  • Previous by thread: Re: Pairings
  • Next by thread: Re: [Q] Plotting non-continuous function