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
 Save function in "Set column values" dialog box
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

CRTBT-UBT

France
Posts

Posted - 08/29/2006 :  08:45:42 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: Windows XP

Is it possible, and if yes how, to save custom functions with one or more parameters for use in the "Set column values" and/or the "Add Function Graph" dialog box, so that I can use it like the standard functions (example: jn(,) for the bessel function)?
I know that I can do this using the script window, but I wonder whether there is an easier way.

Greetings and thanks for help, Johannes

Mike Buess

USA
3037 Posts

Posted - 08/29/2006 :  11:40:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Johannes,

Although they don't appear on the Add Function lists most Origin C functions that return a single value can be used in the Set Column Values and Add Function Graph dialogs. For example, this custom function...

double xsqr(double x, double xoffset, double yoffset)
{
return (x - xoffset)^2 + yoffset;
}

can be used in Set Column Values like this...

Col(B)=
xsqr(col(A),10,10)

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 08/29/2006 11:54:03 AM
Go to Top of Page

CRTBT-UBT

France
Posts

Posted - 08/30/2006 :  05:19:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mike,

thanks for your reply, I allready tried it and it works fine.

One more question: Is it possible to make appear my own functions in the Add Functions list?

Johannes
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 08/30/2006 :  07:01:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Is it possible to make appear my own functions in the Add Functions list?
No.

Mike Buess
Origin WebRing Member
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