RE: "Not a floating-point number" WHY?
- To: mathgroup at smc.vnet.net
- Subject: [mg70478] RE: [mg70452] "Not a floating-point number" WHY?
- From: "Jaccard Florian" <Florian.Jaccard at he-arc.ch>
- Date: Tue, 17 Oct 2006 02:59:14 -0400 (EDT)
Hello, If I copy your "small", I don't have any problem... Maybe your vec is interpreted as text? Try ListPlot[ToExpression[small]] Hope it helps! Regards Florian Jaccard -----Message d'origine----- De : Henning Heiberg-Andersen [mailto:henning.heibergandersen at gmail.com] Envoyé : lundi, 16. octobre 2006 08:37 À : mathgroup at smc.vnet.net Objet : [mg70452] "Not a floating-point number" WHY? 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