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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Analyse part of a graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

symcel

Sweden
Posts

Posted - 02/08/2007 :  09:28:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System: Win XP

I have created a worksheet by importing a ascii file mentioned in this thread http://www.originlab.com/forum/topic.asp?TOPIC_ID=5473

I have also created a created a graph using the X column (time axis) and one of the X columns in that worksheet.

Now I want to manually use the Data Selector tool to select a part of that graph. I.e. I define a start and end time to analyse further.

So my question is how do I in OriginC read the start and end time defined manually with the Data Selector tool and create a new work sheet with data from that time period only?

(I want to use the same time period for all Y columns)

Mike Buess

USA
3037 Posts

Posted - 02/08/2007 :  10:32:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The Data Selector tool is controlled with LabTalk commands. (See the doToolBox command in the LabTalk programming reference.) Indices of beginning and end points are mks1 and mks2.

Before you put too much effort into this you should check out an Origin addon which does exactly what you described...
http://www.originlab.com/fileexchange/details.aspx?fid=90

...Instructions for that tool are somewhat fuzzy. The Extract button is not available until after you've made your selection. Click Data Selector, move end points, hit enter. Then use Extract button.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/08/2007 10:51:35 AM
Go to Top of Page

symcel

Sweden
Posts

Posted - 02/08/2007 :  10:37:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes that sounds very promising, I will download and take a look at it, thanks!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000