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.
|