Discussion:
Getting X, Y values from ScatterPlot object
Nicholas Earl
2013-05-27 10:19:39 UTC
Permalink
Hello,

I'm having difficulty getting the x and y values from a ScatterPlot object.
I've attempted to reference the value.get_data() function, but it only
gives me an array of the y values. Using the value.get_masked_data() also
gives me only the y data, plus a data mask.

Can someone point me in the right direction? Thanks.

Nicholas Earl
Graduate Teaching Associate
San Diego State University
Robert Kern
2013-05-27 12:40:17 UTC
Permalink
Post by Nicholas Earl
Hello,
I'm having difficulty getting the x and y values from a ScatterPlot object.
I've attempted to reference the value.get_data() function, but it only gives
me an array of the y values. Using the value.get_masked_data() also gives me
only the y data, plus a data mask.
Can someone point me in the right direction? Thanks.
index.get_data() will get you the X values.

--
Robert Kern
Enthought

Loading...