MathGroup Archive 2007

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

Search the Archive

Re: Plot without a graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84343] Re: Plot without a graph
  • From: dh <dh at metrohm.ch>
  • Date: Wed, 19 Dec 2007 23:59:03 -0500 (EST)
  • References: <fkangm$dev$1@smc.vnet.net>


Hi,

here is an example. Make a plot:

g=Plot[Sin[x],{x,0,1}]

Now g[[1]] contains the data points in the form as you can see by:

You may extract the data points e.g. by:

Cases[g,Line[x__]:>x,4][[1]]

hope this helps, Daniel



jackgold at umich.edu wrote:

> Hello,

> 

> Suppose I want the table of values that Mathematica uses to plot the 

> graph but I don't want the graph plotted.  I knew how to do it once, a 

> long time ago, but I have forgotten the scheme.  Something like 

> Display->Identity?

> 

> Sorry to trouble you guys with this trivia but I could not find the 

> method by searching the options for plot.  By the way, I do know how to 

> get the table!

> 




  • Prev by Date: Re: express a quadratic, in the form (x+a)^2 + b
  • Next by Date: Re: Plot without a graph
  • Previous by thread: Re: Problem with labeling contour Lines
  • Next by thread: Re: Plot without a graph