Holes when plotting funtions
- To: mathgroup at smc.vnet.net
- Subject: [mg42192] Holes when plotting funtions
- From: "Ashraf El Ansary" <Elansary at btopenworld.com>
- Date: Sat, 21 Jun 2003 20:57:10 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
Is there any way to mathematica to distinguish non-continous equations in
the 'Plot' function. For example:
f[x_]:=x(1-Cos[x])/(x-Sin[x])
Plot[f[x],{x,-20,20},AxesLabel->{x,y},AxesOrigin->{0,0}]
The above example is not defined around zero, but when plotted by
Mathematica , it looks as if the function is continous. Is there any way to
plug a whole in those intervals which are not continous (simillar to those
depicted in textbooks for step /open/closed intervals]......
Cheers.
Ashraf