You can implement this by X-Funciton:
1. Open X-Function Builder by F10.
2. Enter the following and save X-Function edit box: SelRange Name: xy Input/Output: Input Data Type: XYRange Data: <active>
3. Click Edit X-Function in Code Builder button on toolbar, and copy the following codes in SelRange function. vector vx, vy; xy.GetData(vy, vx); vx += 1; vy += 10; xy.SetData(&vy, &vx);
4. Click Compile button and then click Return to Dialog button.
5. Click Save button on X-Function Builder again. Close X-Function Builder.
New a worksheet, fill Row Number to two columns and plot a scatter graph. Run "SelRange -d" in Command window, will open a dialog to choose a range on plot.
Iris |