Re: Can we plot graphs over really small intervals?
- To: mathgroup at smc.vnet.net
- Subject: [mg18399] Re: Can we plot graphs over really small intervals?
- From: jsobel at sdav01.seinf.abb.se (Jarl R Sobel)
- Date: Wed, 7 Jul 1999 00:11:01 -0400
- Organization: ABB Automation Products
- References: <7l3n3h$gg8@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <7l3n3h$gg8 at smc.vnet.net>, Ranko Bojanic
<bojanic at math.ohio-state.edu> wrote:
> I know the function
>
> f[x_] := 10 x^4 + Log[2 - x];
>
> has a zero in the interval [2 - 10^(-69), 2 - 10^(-70)]
> but I cannot draw the graph of f over that interval.
> Mathematica says that x in {x, 2 - 10^(-69), 2 - 10^(-70)}
> must have distinct numerical values.
>
> Ranko
>
> Ranko Bojanic
> bojanic at math.ohio-state.edu
An easy way is to use ListPlot instead of Plot, e.g.
ListPlot[Table[{x - 2, f[x]}, {x, 2 - 10^(-69), 2 - 10^(-70), 10^(-71)}],
PlotJoined -> True]
Note that I subtracted 2 from the x-values to improve the scaling of the x-axes.
Jarl R Sobel