MathGroup Archive 1996

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

Search the Archive

ListPlot the output of Print

  • To: mathgroup at
  • Subject: [mg4431] ListPlot the output of Print
  • From: Mike at (Mike)
  • Date: Mon, 22 Jul 1996 01:39:47 -0400
  • Organization: University OutThere
  • Sender: owner-wri-mathgroup at

How can I easily render the output of a print statement to ListPlot without 
the cut &ý paste routine. ý
Example: ý

Do [ Print[ N[ {x,Sin[x]} ] ] , {x,0,2Pi,Pi/6}]

ý{0, 0}ý
ý{0.523599, 0.5}ý
ý{1.0472, 0.866025}ý
ý{1.5708, 1.}ý
ý{2.0944, 0.866025}ý
ý{2.61799, 0.5}ý
ý{3.14159, 0}ý
ý{3.66519, -0.5}ý
ý{4.18879, -0.866025}ý
ý{4.71239, -1.}ý
ý{5.23599, -0.866025}ý
ý{5.75959, -0.5}ý
ý{6.28319, 0}ý

I don't want to use Table[] because I need to monitor the output as they get 
printed.ýSin[x] is just a simple example, the real function is much more 
Any help would be appreciated.ý



  • Prev by Date: Re: Revealing HiddenSurfaces
  • Next by Date: partial diferential ecuations
  • Previous by thread: Revealing HiddenSurfaces
  • Next by thread: Re: ListPlot the output of Print