The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Graphic data acquisition

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
66de250 Posted - 06/06/2024 : 06:54:17 AM
How do you get information about any point (such as the values of the horizontal and vertical coordinates) from a Graph? Please give me a piece of LabTalk code, thank you!
2   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 06/06/2024 : 08:54:05 AM
You could use the range notation in LT to obtain the x,y values of a line/scatter plot:

range -wx rx = [Graph1]1!1;
range -wy ry = [Graph1]1!1;
rx[2]=;  // second point x value
ry[2]=;  // second point y value

https://www.originlab.com/doc/en/LabTalk/guide/Range-Notation#Option_Switches_-w.2C_-wx.2C_-wy_and_-wzOption_Switche

James
66de250 Posted - 06/06/2024 : 07:37:54 AM
The data source of the graph is a worksheet, the egg I need points in the worksheet does not have a corresponding Y value, and the graph displays a style similar to the line chart, so that I can get the points I need

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000