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 1998

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

Search the Archive

Re: Plotting Data

Larry C Linik wrote:
> I'm plotting data from a table (x,y] and I want to apply a function to
> the y  values to plot (x,f[y]].  How can I do this?


data ={{x1,y1},{x2,y2},{x3,y3}}

Apply[{#,f[#2]}&, data,1]

	{{x1, f[y1]}, {x2, f[y2]}, {x3, f[y3]}}

Allan Hayes
Training and Consulting
Leicester, UK
voice: +44 (0)116 271 4198
fax: +44 (0)116 271 8642

  • Prev by Date: ColorFunction and/or ColorOutput - mkdk
  • Next by Date: Re: Beginner's clothoid
  • Prev by thread: Re: ColorFunction and/or ColorOutput - mkdk
  • Next by thread: Re: Plotting Data