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 1995

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

Search the Archive

Re: Question about LISTS

  • Subject: [mg2711] Re: Question about LISTS
  • From: Christian.Jost at (Christian Jost)
  • Date: Sat, 9 Dec 1995 01:54:12 -0500
  • Approved:
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Universite Paris-Sud XI

In article <4a3ejh$qnc at>, "cjkelly at"
<cjkelly at> wrote:

> The idea is to extract elements out of a list and then plug them
> into LINE[{{x,y},{x1,y1}}]=20

Use pure functions (see Mathematica manual), they are an elegant tool for
such tasks:


  Line[{{0,0},{#,#^2}}]& /@ x

  {Line[{{0, 0}, {4, 16}}], Line[{{0, 0}, {5, 25}}],=20
 Line[{{0, 0}, {-3, 9}}], Line[{{0, 0}, {1, 1}}]}


Hope that helps, Christian.

Christian Jost, Universit=E9 Paris-Sud XI, Orsay, France
jost at

  • Prev by Date: Partial Differential Equations in Mathematica
  • Next by Date: Re: Box counting dimension for fractals via Mathematica??
  • Previous by thread: Re: Partial Differential Equations in Mathematica
  • Next by thread: Re: Question about LISTS