Services & Resources / Wolfram Forums
MathGroup Archive
*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

Re: ListPlot the output of Print

  • To: mathgroup at
  • Subject: [mg4493] Re: [mg4431] ListPlot the output of Print
  • From: brucec (Bruce Carpenter)
  • Date: Fri, 2 Aug 1996 02:22:25 -0400
  • Sender: owner-wri-mathgroup at

At 1:39 AM 7/22/96, Mike wrote:
>How can I easily render the output of a print statement to ListPlot without
>the cut &=9B paste routine. =9B
>Example: =9B
>Do [ Print[ N[ {x,Sin[x]} ] ] , {x,0,2Pi,Pi/6}]
>=9B{0, 0}=9B
>=9B{0.523599, 0.5}=9B
>=9B{1.0472, 0.866025}=9B
>=9B{1.5708, 1.}=9B
>=9B{2.0944, 0.866025}=9B
>=9B{2.61799, 0.5}=9B
>=9B{3.14159, 0}=9B
>=9B{3.66519, -0.5}=9B
>=9B{4.18879, -0.866025}=9B
>=9B{4.71239, -1.}=9B
>=9B{5.23599, -0.866025}=9B
>=9B{5.75959, -0.5}=9B
>=9B{6.28319, 0}=9B
>I don't want to use Table[] because I need to monitor the output as they ge=
>printed.=9BSin[x] is just a simple example, the real function is much more
>Any help would be appreciated.=9B

Hi Mike,

You can use Table and monitor the output at the same time:

data =3D Table [With[{temp =3D {x, Sin[x]}}, Print[N[temp]];temp], {x, 0, 2P=

Best Regards,
Bruce Carpenter

Dr. Bruce Carpenter
Educational Applications Coordinator         phone: (217) 398-0700
Wolfram Research, Inc.                         fax: (217) 398-0747
100 Trade Centre Drive                       email: brucec at
Champaign, IL  61820                           web:


  • Prev by Date: plotting NIntegrate
  • Next by Date: ConstrainedMin limited to integer solutions?
  • Previous by thread: Re: plotting NIntegrate
  • Next by thread: Re:ListPlot the output of Print