Re: Plot[f[x], {x,a,b}] Not Reaching End Points

*To*: mathgroup at smc.vnet.net*Subject*: [mg29063] Re: [mg29028] Plot[f[x], {x,a,b}] Not Reaching End Points*From*: Tomas Garza <tgarza01 at prodigy.net.mx>*Date*: Sat, 26 May 2001 21:53:58 -0400 (EDT)*References*: <200105250548.BAA07874@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

This a matter of resolution. See, if you include a vertical line at x = 1, then your curve will be indistinguishable from that line as you get close to x = 1: In[1]:= n = 0.1; Plot[(1 - x)^n, {x, 0, 1}, PlotRange -> {{0, 1}, {0, 1}}, Epilog -> Line[{{1, 0}, {1, 1}}]] The only way to include the part of the plot very close to x = 1 would be to make it a vertical line. Tomas Garza Mexico City ----- Original Message ----- From: "aes" <siegman at stanford.edu> To: mathgroup at smc.vnet.net Subject: [mg29063] [mg29028] Plot[f[x], {x,a,b}] Not Reaching End Points > When I execute > > n=0.1; Plot[ (1-x)^n, {x,0,1} ] > > the plot stops well short of dropping all the way to the baseline on the > steeply falling edge as x approaches 1 --- even if I use PlotRange->All > or expand to something unreasonable like PlotPoints->10000. > > I understand that a Plot routine can have difficulties dealing with > singularities or rapidly varying functions within the range to be > plotted -- but it seems surprising to me that it should totally pass > over or omit an explicitly stated, nonsingular end point. >

**References**:**Plot[f[x], {x,a,b}] Not Reaching End Points***From:*aes <siegman@stanford.edu>