MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: "Not a floating-point number" WHY?


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


  • Prev by Date: RE: pretty output with HoldForm
  • Next by Date: Re: Re: Demostration
  • Previous by thread: Re: "Not a floating-point number" WHY?
  • Next by thread: Re: "Not a floating-point number" WHY?