Mathematica 9 is now available
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

LISTS and more LISTS

  • To: mathgroup at
  • Subject: [mg2829] LISTS and more LISTS
  • From: "cjkelly at" <cjkelly at>
  • Date: Sat, 23 Dec 1995 03:18:02 -0500

Enclosed is a little ditty I've been trying to get to work but as is
clear, it has a bug and I have no clue as to what is wrong. 

It is just supposed to extract elements out of a LIST then peform 
various operations on these elements one of which is to plot a
series of lines (or rays) starting from the point {25,5}

Clear [f,x]
Do [Line[{{5,25},{x[[i]],f[x[[i]]]}},{i,Length [x]}]]

Clear [f,x]
Do [Line[{{5,25},{x[[i]],f[x[[i]]]}},{i,Length [x]}]]

  • Prev by Date: Mathematica as a programming language.
  • Next by Date: Thanks for help with lists (all who replied)
  • Previous by thread: Re: Mathematica as a programming language.
  • Next by thread: Re: LISTS and more LISTS