python - How to read out point position of a given plot in matplotlib?(without using mouse) -


the case is, have 2d array , can convert plot. how can read y value of point given x?

just access input data used generate plot. either mathematical function can evaluate given x or two-dimensional data set can search given x. in latter case, if x not contained in data set, might want interpolate or throw error.


Comments