MathGroup Archive 2002

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

Search the Archive

Re: too many {{}}'s for listplot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38364] Re: too many {{}}'s for listplot
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 13 Dec 2002 04:09:02 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <at9d0g$q2s$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

ListPlot[z2 /. {{a_?NumericQ,b_?NUmericQ}}:>{a,b}]

Regards
  Jens

encinosa wrote:
> 
> i am trying to do a poincare map. i generate x[t] and x'[t]. i write
> 
> z2 = Table[Evaluate[{x[t] , x'[t]} /. %], {t, 0, 10, .005}]
> ListPlot[z2]
> 
> and i get a set of values that looks like
> 
> {{0.517671, 9.75893}}, {{0.562696, 8.33465}}, {{0.601599,
>     7.26733}}, {{0.635675, 6.38612}},....
> 
> the problem is when i use
> 
> ListPlot[z2]
> 
> i get the dreaded "is not a list of numbers" error. if i remove the extra
> parenthesis by hand it works, but thats a tedious business several hundred
> points. i am sure this is a simple thing to fix. i would appreciate any
> help.
> 
> mario


  • Prev by Date: Marquardt & Levenberg Method Theoretical Origins
  • Next by Date: Re: too many {{}}'s for listplot
  • Previous by thread: RE: too many {{}}'s for listplot
  • Next by thread: Re: too many {{}}'s for listplot