MathGroup Archive 1995

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

Search the Archive

RE: Re: Extracting data points from Plot[]


  Although Plot[ (AppendTo[samples,{x,f[x]}]; f[x]), {x,a,b}] gives a list of 
the sample points used by Plot, a much simpler way to get the same list, 
properly ordered, is to take part [[1,1,1,1]] of the --graphics-- output of 
Plot.  E.g., Plot[...][[1,1,1,1]]  or  P = Plot[...];  P[[1,1,1,1]].   

							--Nelson M. Blachman
							  Palo Alto, Calif.


  • Prev by Date: Tick marks on Axes AND Frame?
  • Next by Date: Re: CHAOS & MATH
  • Previous by thread: Re: Extracting data points from Plot[]
  • Next by thread: Rule Writing for x and 1/x