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
 Origin Forum
 Restrict Data Reader tool to some datasets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 01/13/2005 :  05:33:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR4
Operating System: Win 2000

Hi,

Can the data reader tool be restricted to certain datasets in a plot.
I use the data reader tool to remove a point and refit the dataset with customised code bu selecting the right dataset can be a problem if there are overlaid datasets and curves.

My code is :

If(this.index==1) {
Mark -x %C;def EndToolbox [;i1=_indx[1];undo -dr %C i1 i1;
RemoveDataAndRefit;
];
//ChangeGraphName $(page.active);]; Not updated for multiple params
GetPts 1 $EXEmessage.DataPtRemove;#Selectively delete a data point;
};

but I would like to be able to restrict it to read a particular dataset.

Cheers,

Pete

Mike Buess

USA
3037 Posts

Posted - 01/13/2005 :  10:10:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pete,

This restricts the data reader to the active dataset...

dotool -r %C;

Mike Buess
Origin WebRing Member
Go to Top of Page

peter.cook

UK
356 Posts

Posted - 01/14/2005 :  07:35:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mike,

Excellent assist thanks. I guess all I need do is set the 'restricted' dataset to the active dataset with my code. I can work with this.

Cheers,

pete

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