T O P I C R E V I E W |
bedibra |
Posted - 08/24/2017 : 11:45:39 AM Dear all, I have a graph with annotations on it, and I am looking for a way to get each time when I add annotations on that graph, their coordinates on a sheet. The idea is to use X and Y coordinate of each annotation for further calculation process. Is there a script that a can put on the set values window (before formula script) to import from the graph the X and Y coordinates of the annotations on col(A) and col(B) of Sheet1. Thanks for the help.
|
3 L A T E S T R E P L I E S (Newest First) |
bedibra |
Posted - 08/25/2017 : 1:06:17 PM Here is my script and it works well : pickpts gp:=[Graph1] npts:=3 index:=[book1]index!1 x:=[book1]index!2 y:=[book1]index!3;
thanks |
bedibra |
Posted - 08/25/2017 : 12:28:51 PM Thanks!
quote: Originally posted by Echo_Chu
Hi,
If you want to pick points on graph and get their coordinates on a sheet, I suggest you use the Pick Points tool
1. Choose "Window: Command Window" 2. Active Graph, In the opened Command Window, type script below. Press Enter to use it.
pickpts 3. A worksheet with X and Y Coordinate columns will be generated, pick the points on graph. After it is done, go to the worksheet to generate the points coordinates on the worksheet.
http://www.originlab.com/doc/X-Function/ref/pickpts
Please look at the page above for more details.
Echo OriginLab Technical Service
|
Echo_Chu |
Posted - 08/25/2017 : 02:58:49 AM Hi,
If you want to pick points on graph and get their coordinates on a sheet, I suggest you use the Pick Points tool
1. Choose "Window: Command Window" 2. Active Graph, In the opened Command Window, type script below. Press Enter to use it.
pickpts 3. A worksheet with X and Y Coordinate columns will be generated, pick the points on graph. After it is done, go to the worksheet to generate the points coordinates on the worksheet.
http://www.originlab.com/doc/X-Function/ref/pickpts
Please look at the page above for more details.
Echo OriginLab Technical Service |
|
|