QCustomPlot Discussion and Comments

Get coordinates of scatter points on a graph Return to overview

Is there a way to get the cordinates of all scatter points in a graph ?

Yes, they are stored in a QCPDataMap, which just is an ordinary QMap with the key coordinate (x) as key, and the point's data as second template parameter (the struct QCPData, see documentation). You can get the data via yourGraph->data().

This thread:
http://www.qcustomplot.com/index.php/support/forum/17
may also be interesting for you.