Re: Getting the plotted data from a graph
- To: mathgroup at smc.vnet.net
- Subject: [mg131188] Re: Getting the plotted data from a graph
- From: Tomas Garza <tgarza10 at msn.com>
- Date: Sun, 16 Jun 2013 05:18:35 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <20130615082448.BFAE16A7C@smc.vnet.net>
All of the data points is a lot of points, but if this is really important for you, then try
FullForm[g1]
You'll get, among other things, the list of all points {x, Sin[x]} used in the plot.
-Tomas
> From: econactually at gmail.com
> Subject: Getting the plotted data from a graph
> To: mathgroup at smc.vnet.net
> Date: Sat, 15 Jun 2013 04:24:48 -0400
>
> Dear All,
>
> My question is regarding the plotted data points in a graph. Assume you draw a graph of sinx as:
>
> g1 = Plot[Sin[x], {x, -Pi, Pi},
> Frame -> True, FrameLabel -> {"x", "y"}, ImageSize -> 2.6*72
> ]
>
> then how can I get all of the data points of this graph by using mathematica?
>
> This is really important for me and I couldn't find the answer anywhere online!
>
> Thank you for your help in advance!
>
> Best,
> Lily
>
- References:
- Getting the plotted data from a graph
- From: "Lily T." <econactually@gmail.com>
- Getting the plotted data from a graph