Re: Not all points plot on my graph...
- To: mathgroup at smc.vnet.net
- Subject: [mg105214] Re: [mg105158] Not all points plot on my graph...
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Tue, 24 Nov 2009 05:51:10 -0500 (EST)
- References: <200911231149.GAA21721@smc.vnet.net>
- Reply-to: drmajorbob at yahoo.com
You get no plotted values for x<-2, because f is Complex there.
For instance,
f[-3] // N
-0.5 + 0.866025 I
Bobby
On Mon, 23 Nov 2009 05:49:43 -0600, davef <davidfrick2003 at yahoo.com> wrote:
> Why is it when I write this...
>
> Clear[f, x]
> f[x_] = (x + 2)^(2/3)
> Plot[f[x], {x, -3, 0}, PlotRange -> {{-3, 0}, {-4, 4}}]
> f[-3]
>
> .. I get no values show in the graph for x<-2 even though f[-3]
> evaluates to (-1)^(2/3).
>
> (-1)^(2/3) evaluates as f[-3]=1 so why wouldn't the point (-3,1) plot
> on my graph?
>
>
--
DrMajorBob at yahoo.com
- References:
- Not all points plot on my graph...
- From: davef <davidfrick2003@yahoo.com>
- Not all points plot on my graph...