Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

ListPlot the output of Print

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

MathGroupers:
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 
complicated.
Any help would be appreciated.ý

Mike

==== [MESSAGE SEPARATOR] ====


  • 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