Re: "Not a floating-point number" WHY?
- To: mathgroup at smc.vnet.net
- Subject: [mg70462] Re: "Not a floating-point number" WHY?
- From: dimmechan at yahoo.com
- Date: Tue, 17 Oct 2006 02:58:24 -0400 (EDT)
- References: <egvbr1$s16$1@smc.vnet.net>
I don't know what is happening.
In my system everything works fine.
small={{30.06,23523},{56. 38,5}};
ListPlot[small, PlotStyle -> PointSize[0.02]]
(*plot to be displayed*)
Henning Heiberg-Andersen wrote:
> Hi,
>
> I have a hard time trying to understand why I get the floating-point error
> in this
> particular case: I dont't see what's wrong with the list I am trying to
> plot.
> Here it is:
>
>
> In[1]:= small=Take[vec,2]
>
> Out[1]:= { {30.06, 23523}, {56. 38,00005}}
>
> In[2]:= ListPlot[small]
>
> Then I get the error message:
>
> Graphics::gptn : Coordinate 30.06 in {30.06, 23523} is not a floating-point
> number.
>
> Hope someone can explain this to me.
>
> Best regards,
>
> Henning Heiberg-Andersen