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


This is one way to do it.
Create a table of (x,y) pairs
Separate the table into two lists (one list of x, and one of y)
{{1,2,3,4,5,6,7,8,9,10},{2,4,6,8,10,12,14,16,18,20}} Define your
function, for example:
Apply the function to the y list and assign the result to ynew
Reform your new table
Plot the data

Good Luck,
John C. Erb
-----Original Message-----
From: Larry C Linik <Larry.C.Linik@tek.COM> To:
Subject: [mg10732] [mg10716] Plotting Data

>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?

  • Prev by Date: Re: RealValued functions and derivatives
  • Next by Date: Re: 3D histograms?
  • Prev by thread: Re: Plotting Data
  • Next by thread: RE: Plotting Data