Re: Not Plotting Vertical Assymptotes
- To: mathgroup at smc.vnet.net
- Subject: [mg18602] Re: Not Plotting Vertical Assymptotes
- From: Alan Lewis <alanlewis at home.com>
- Date: Tue, 13 Jul 1999 01:01:30 -0400
- Organization: @Home Network
- References: <7m6ivl$2l5@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You can make two plots, p1 from 0 to 1 and p2 from
1 to 2, and then use Show[p1,p2].
Patrick McLean wrote:
>
> Anyone have any idea how to stop Plot putting a (near) vertical line at
> x=2 in the command:
>
> Plot[1/(1-x),{x,0,2}]
>
> ie. detect that the function 1/(1-x) has a singularity at x=2 and do
> something about it. This is analagous to numerically integrating over a
> (integrable) singularity, where the following remedy works:
>
> NIntegrate[1/Abs[Sqrt[x-1]]^2,{x,0,1,2}]
>
> But in this case it doesn't work. Decreasing MaxBend works a bit but the
> line is still there.
>
> (I am really interested in drawing paths in the plane using ParmetricPlot)
>
> Any ideas or comments
>
> --
> Patrick McLean
>
> No news is good news...