Re: Plotting singularities
- To: mathgroup at smc.vnet.net
- Subject: [mg116963] Re: Plotting singularities
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 6 Mar 2011 05:40:56 -0500 (EST)
If I copy that same example Plot[Tan[x], {x, -3, 3}] form the Basic Plotting page in the Documentation Center and evaluate the cell in a new notebook -- or even if I evaluate it in place in the Documentation Center page -- then I get exactly what you expect, namely, no error message. (Mathematica 8.0.0, Windows XP.) On the other hand, you do get the spurious vertical segments at the asymptotes. to avoid those, include the option: Exclusions -> {-Pi/2, Pi/2} On 3/5/2011 6:08 AM, J=F6rg Schr=F6der wrote: > Dear Group, > > > > how can I omit to plot singularities, for example in Tan[x] in Version 8? It > seems, that something has changed since Version 7. When I copy the example > from the Documentation Center (Basic Plotting) Version 8 shows an error > message. > > > > J. Schroder > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305