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
 Forum for Origin C
 Using of Regional Data Selector in X-F and OC.

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
Alex-qwerty Posted - 02/17/2010 : 10:38:34 AM
OriginPro 8.0 SR6 WinXP SP3
How can I use the data selected by "Regional Data Selector" in some Graph in my code of X-Function or Origin C?
What type of input variable should I use in XF?
Or how can I access to worksheet and indexes of stat and end of selected ranges?
2   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 02/18/2010 : 6:58:17 PM
best to look at the smooth XF, from script window, type

ed.open(smooth)

CP
greg Posted - 02/18/2010 : 11:40:08 AM
You can use the GetDataMarkers method of the DataPlot class which will fill two vectors with the start and end indices of each selected range of a plot. Your XF could use a DataPlot input and get the range vectors using the data plot index as one example.

In LabTalk, the mks X-Function can be used to get datasets with the stored indices.

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