Hi,
MarkerGraphObject class need to attach to one data plot, SetPoints and GetPoints used to get the points on this data plot. But for Contour plot, if you want to get the position of one point, need to use screen reader to read the position of screen. There is not a proper mechanism in Origin C, but you can call Labtalk command "dotool" in Origin C.
Activate one contour graph, and then run "dotool 2" in Command window or Origin C function like
void testPage()
{
GraphLayer gl = Project.ActiveLayer();
if( gl )
{
LT_execute("dotool 2");
}
}
Please try and tell me this way if enough for you.
Iris