Re: Holes when plotting funtions
- To: mathgroup at smc.vnet.net
- Subject: [mg42194] Re: Holes when plotting funtions
- From: Bill Rowe <listuser at earthlink.net>
- Date: Sun, 22 Jun 2003 04:05:31 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 6/21/03 at 8:57 PM, Elansary at btopenworld.com (Ashraf El Ansary) wrote:
> 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]......
Roman Maeder wrote an article for the Mathematica Journal (vol 7.3) regarding interval plots that identifies problems like this. If you have a subscription to the Mathematica Journal you can download the this artical in electronic format from their web site. If not, try a search on the Wolfram Information Center. Look for articles written by Roman Maeder on the subject of interval plots or global optimization