Re: Vertical Asymptote
- To: mathgroup at smc.vnet.net
- Subject: [mg29859] Re: Vertical Asymptote
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Sat, 14 Jul 2001 01:36:49 -0400 (EDT)
- References: <9imb7c$eo9$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Jan, gr=Plot[{Sqrt[(x-5)/(1-3x)],1/3},{x,1/3,5}, PlotStyle->{{RGBColor[0,0,0]},{RGBColor[0,0,1]}}] -Graphics- Look at what the output, -Graphics-, is to see what can be done gr//InputForm We can work on the black line gr/.bln:{RGBColor[0,0,0],{Line[{p_,___}]}}:> Sequence[bln,{RGBColor[1,0,0],{Line[{{1/3,0},p}]}}] Show the result Show[%]; -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Jan Vuerinckx" <Jan.Vuerinckx at Skynet.be> wrote in message news:9imb7c$eo9$1 at smc.vnet.net... > Hello, > > I am new to Mathematica and i try to plot the vertical asymptote at > x=1/3 for > Plot[{Sqrt[(x - 5)/(1 - 3x)], 1/3}, {x, 1/3, 5}, > PlotStyle -> {{RGBColor [0, 0, 0]}, {RGBColor [0, 0, 1]}}] > Can someone give me a hint please. > > Thanks > Jan >