MathGroup Archive 1999

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

Search the Archive

Not a floating-point number message

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17527] Not a floating-point number message
  • From: rubgb at my-dejanews.com
  • Date: Fri, 14 May 1999 01:13:04 -0400
  • Organization: Deja.com - Share what you know. Learn what you don't.
  • Sender: owner-wri-mathgroup at wolfram.com

 Hi there:
I'm trying to plot the following Table using ListPlot:

f[x_]:=N[Pi^([Sin[2 x]]-[Cos[x^2]])];

dummyData=Table[{x,f[x]},{x,-5,5,0.5}];

ListPlot[dummyData,PlotStyle\[Rule]PointSize[0.02]];

I'm getting the following error message:
Coordinate...in {...} is not a floating-point number."

I have loaded the package Miscellaneous`RealOnly` and I have been able
to plot f[x] using Hold  but I haven't been successful so far with the
table :-((
Any ideas would be greatly appreciated!
Thanks


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---


  • Prev by Date: Is it a bug?
  • Next by Date: MathLink Plotting
  • Previous by thread: Re: Re: Is it a bug?
  • Next by thread: Re: Not a floating-point number message