This is an interesting use case! We have been thinking about this, as the Label command does not have a way to do this automatically, but we can see the benefit.
One thing to make sure you know that at any time you can turn on the Hover (shift-command-H) and you have a pop-up box that gives you information on the point. You can also customize the information you see in the box, using the Points command, to show other information.
Another thing that might help make this easier is to control-click (right click) on a point and “Select Point in Table”. This will highlight the row that corresponds to a point and you could then type the row number into the Label command. If you are only doing this for a few points, this might be the easiest way.
Another approach I like to use is to set up a column in the data table where you flag the points you want to label and use a mask.
Here is one example where the column called Label, is used in a mask in a Connect command, which can draw arrows similar to the Label command.
Here row 2 and 3 have the Label column set to ‘1’.
Here is the command and graph where the label is set to the row number along with a prefix.
The process would be to:
- right click points you want to label
- add a ‘1’ to the label column for that row.
- populate the xx and yy locations depending on the direction you want to arrow
Anyway, hope this helps. We will be thinking about how the Label command could be more flexible to provide other information on a point.