currently I’m developing a coordinate system in PhAB using PtLabel as x&y label. Question is I would like to use my own data to set PtLabel in order to change x&y scalar every time. Any one could help?
PS: I had used [color=orange]PtSetResource(ABW_x_axis, Pt_ARG_TEXT_STRING, “1.0”,0), and it display 1.0 on screen. I would like to use an array to let PtLabel display the value of a[n]. Like if a[n]=10.0, then the label text should be 10.0 displayed in screen.
PtSetResource(ABW_x_axis, Pt_ARG_TEXT_STRING, a,0) does not work, so anyone have suggestions to me, thank you.