ShowInfo: modify procedure to display a triplet of points (ABC) instead of a pair (AB)

Hello,

I would like to select a triplet of points (ABC) in an image to then compute and apply an Affine transformation that makes A new origin and the two vectors AB, AC the base vectors for the position in the image.

I looked through the documentation and it seems that ShowInfo only displays a pair of cursors each time: AB, then CD, etc.

While this can still work I was wondering if I could duplicate the ShowInfo procedure and modify it in a simple manner to display triplets of cursors (ABC).



The Graph Info window (what you get when you execute ShowInfo) is not implemented via Igor procedures, so there is no way to get exactly what you want.

In Igor 6, it is possible to display in the info window only one cursor pair at a time. However, in Igor 7 (currently in beta), it is possible to display multiple cursor pairs at the same time (see attached image).

You can sign up to be a beta tester for Igor 7 at http://www.igorpro.net/beta-signup/. It only requires that you have a valid Igor 6 English license.
Igor7GraphInfoWithTwoCursorPairs.PNG (15.7 KB)
In case you handle the cursors yourself IP6 might be sufficient. Try
make test=x^2/100-x+5
display test
cursor a test 21
cursor b test 42
cursor c test 84


HJ
Thanks for the replies!

Manually initiating the placement of the cursors might be a solution, but in the end it's just as simple to have my procedure switch cursor pairs in the ShowInfo panel. I should give the beta a spin though.